Applies ToExcel for Microsoft 365 Excel 2024 Excel 2021 Excel 2019 Excel 2016

In Excel, formatting worksheet (or sheet) data is easier than ever. You can use several fast and simple ways to create professional-looking worksheets that display your data effectively. For example, you can use document themes for a uniform look throughout all of your Excel spreadsheets, styles to apply predefined formats, and other manual formatting features to highlight important data.

Formatted worksheet

A document theme is a predefined set of colors, fonts, and effects (such as line styles and fill effects) that will be available when you format your worksheet data or other items, such as tables, PivotTables, or charts. For a uniform and professional look, a document theme can be applied to all of your Excel workbooks and other Office release documents.

Your company may provide a corporate document theme that you can use, or you can choose from a variety of predefined document themes that are available in Excel. If needed, you can also create your own document theme by changing any or all of the theme colors, fonts, or effects that a document theme is based on.

Before you format the data on your worksheet, you may want to apply the document theme that you want to use, so that the formatting that you apply to your worksheet data can use the colors, fonts, and effects that are determined by that document theme.

For information on how to work with document themes, see Apply or customize a document theme.

A style is a predefined, often theme-based format that you can apply to change the look of data, tables, charts, PivotTables, shapes, or diagrams. If predefined styles don't meet your needs, you can customize a style. For charts, you can customize a chart style and save it as a chart template that you can use again.

Depending on the data that you want to format, you can use the following styles in Excel:

  • Cell styles    To apply several formats in one step, and to ensure that cells have consistent formatting, you can use a cell style. A cell style is a defined set of formatting characteristics, such as fonts and font sizes, number formats, cell borders, and cell shading. To prevent anyone from making changes to specific cells, you can also use a cell style that locks cells.

    Excel has several predefined cell styles that you can apply. If needed, you can modify a predefined cell style to create a custom cell style.

    Some cell styles are based on the document theme that is applied to the entire workbook. When you switch to another document theme, these cell styles are updated to match the new document theme.

    For information on how to work with cell styles, see Apply, create, or remove a cell style.

  • Table styles    To quickly add designer-quality, professional formatting to an Excel table, you can apply a predefined or custom table style. When you choose one of the predefined alternate-row styles, Excel maintains the alternating row pattern when you filter, hide, or rearrange rows.

    For information on how to work with table styles, see Format an Excel table.

  • PivotTable styles    To format a PivotTable, you can quickly apply a predefined or custom PivotTable style. Just like with Excel tables, you can choose a predefined alternate-row style that retains the alternate row pattern when you filter, hide, or rearrange rows.

    For information on how to work with PivotTable styles, see Design the layout and format of a PivotTable report.

  • Chart styles    You apply a predefined style to your chart. Excel provides a variety of useful predefined chart styles that you can choose from, and you can customize a style further if needed by manually changing the style of individual chart elements. You cannot save a custom chart style, but you can save the entire chart as a chart template that you can use to create a similar chart.

    For information on how to work with chart styles, see Change the layout or style of a chart.

To make specific data (such as text or numbers) stand out, you can format the data manually. Manual formatting is not based on the document theme of your workbook unless you choose a theme font or use theme colors — manual formatting stays the same when you change the document theme. You can manually format all of the data in a cell or range at the same time, but you can also use this method to format individual characters.

For information on how to format data manually, see Format text in cells.

To distinguish between different types of information on a worksheet and to make a worksheet easier to scan, you can add borders around cells or ranges. For enhanced visibility and to draw attention to specific data, you can also shade the cells with a solid background color or a specific color pattern.

Text with borders and a background color

If you want to add a colorful background to all of your worksheet data, you can also use a picture as a sheet background. However, a sheet background cannot be printed — a background only enhances the onscreen display of your worksheet.

For information on how to use borders and colors, see:

Apply or remove cell borders on a worksheet

Apply or remove cell shading

Add or remove a sheet background

For the optimal display of the data on your worksheet, you may want to reposition the text within a cell. You can change the alignment of the cell contents, use indentation for better spacing, or display the data at a different angle by rotating it.

Rotating data is especially useful when column headings are wider than the data in the column. Instead of creating unnecessarily wide columns or abbreviated labels, you can rotate the column heading text.

For information on how to change the alignment or orientation of data, see Reposition the data in a cell.

If you have already formatted some cells on a worksheet the way that you want, there are several ways to copy just those formats to other cells or ranges.

Clipboard commands   

  • Home > Paste Paste Special > Paste Formatting.

  • Home > Format Painter Button image .

Right click command   

Your browser does not support video. Install Microsoft Silverlight, Adobe Flash Player, or Internet Explorer 9.
  1. Point your mouse at the edge of selected cells until the pointer changes to a crosshair.

  2. Right click and hold, drag the selection to a range, and then release.

  3. Select Copy Here as Formats Only.

Tip   If you're using a single-button mouse or trackpad on a Mac, use Control+Click instead of right click.

Range Extension   

Data range formats are automatically extended to additional rows when you enter rows at the end of a data range that you have already formatted, and the formats appear in at least three of five preceding rows. The option to extend data range formats and formulas is on by default, but you can turn it on or off:

  • Select File > Options > Advanced > Extend date range and formulas (under Editing options). 

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.