Cell Styles in Excel: Format Inputs, Totals and Headings Fast
By ExcelReady TeamUpdated 6 min read
The short answer
A cell style is a named set of formats, such as font, fill, border and number format, that you apply in one click from Home > Cell Styles. Excel includes styles like Input, Calculation, Total, Heading 1 and Percent. If you change a style, every cell that uses it updates, which keeps a whole workbook consistent.
Key takeaways
- Cell styles live on the Home tab, in the Styles group. Pick one from the gallery to format the selected cells.
- A style can include up to six parts: number, alignment, font, border, fill and protection.
- Modify a style once and every cell that uses it changes, which is the main advantage over Format Painter.
- Use Input for typed values, Calculation for formulas, Total for totals and Check Cell for checks, so readers know what to edit.
- Apply the Normal style to reset a cell to the workbook's default formatting.
On this page+
Cell styles in Excel let you format a cell with one click: pick "Input", "Total" or "Heading 1" and Excel applies the font, fill, border and number format saved in that style. Change the style later and every cell that uses it updates. This guide is for anyone who builds models, budgets or reports that other people read and edit, and wants them to look consistent without formatting every cell by hand.
What are cell styles in Excel?#
A cell style is a named bundle of formats saved in the workbook. Each style can control up to six things:
| Part | What it sets | Example |
|---|---|---|
| Number | The number format | Currency, Percent, 0.00 |
| Alignment | Left, right, centre, wrap text | Centred heading |
| Font | Typeface, size, colour, bold | Bold blue text |
| Border | Lines around the cell | Double line under a total |
| Fill | The background colour | Light orange for inputs |
| Protection | Locked or unlocked | Unlocked input cells |
The difference from normal formatting is the link. When you format a cell by hand, Excel forgets how you did it. When you apply a style, the cell remembers the style's name, so you can restyle a whole workbook by editing one style.
How to apply a cell style#
To apply a style, select the cells, then choose it from the gallery:
- Select the cells, for example the column headings in row 1.
- Go to Home > Cell Styles (in the Styles group).
- Hover over a style to preview it, then click to apply it.
On a narrow window, the Styles group may shrink into one Styles button; the gallery is inside it. Excel for Mac has the same Cell Styles button on the Home tab. On Windows, Alt+' (apostrophe) opens the Style dialog for the selected cell.
The Comma Style and Percent Style buttons in the Number group apply the built-in Comma and Percent styles. For one-off number formats, the keyboard is faster: Ctrl+Shift+$ for currency and Ctrl+Shift+% for percent (Mac: ⌃⇧$ and ⌃⇧%). The guide to formatting numbers as currency and percent covers those formats in detail.
Which built-in cell styles should you use?#
Excel groups its built-in styles into five sets. The exact colours depend on the workbook theme:
- Good, Bad and Neutral: Normal, Good (green), Bad (red) and Neutral (yellow). Use them to mark results by hand.
- Data and Model: Input, Calculation, Output, Check Cell, Linked Cell, Note, Warning Text and Explanatory Text.
- Titles and Headings: Title, Heading 1 to Heading 4, and Total.
- Themed Cell Styles: tinted fills such as "20% - Accent1" and solid "Accent1" to "Accent6".
- Number Format: Comma, Comma [0], Currency, Currency [0] and Percent.
The Data and Model set is the most useful one for job work. It gives a model a visual language that readers learn quickly:
| Style | Use it for | Why it helps |
|---|---|---|
| Input | Values someone types, such as a growth rate | Shows what is safe to change |
| Calculation | Cells that hold formulas | Warns people not to type over them |
| Total | Column and row totals | Bold text with a line above and a double line below |
| Check Cell | A formula that tests the model | Stands out so nobody misses an error |
| Warning Text | A short note about a risk | Red text draws the eye |
How to format inputs, totals and headings in one pass#
Here is a quick routine for a small budget sheet:
- Select the title cell and apply Title.
- Select the column headings and apply Heading 3 or Heading 4.
- Select the typed amounts and apply Input.
- Select the total row and apply Total.
- Add a check cell next to the total and apply Check Cell.
A check cell holds a formula that confirms the numbers add up. With costs in B2:B5 and a typed total in B6:
| A | B | |
|---|---|---|
| 1 | Cost | Amount |
| 2 | Rent | 1,200 |
| 3 | Payroll | 4,800 |
| 4 | Software | 350 |
| 5 | Travel | 650 |
| 6 | Total | 7,000 |
=IF(SUM(B2:B5)=B6,"OK","Check")The four costs add up to 7,000, so the result is OK. If someone changes Rent to 1,300 without updating the total, it shows Check. Styles make the purpose of each cell obvious, and the formula makes sure the purpose is met.
Styles don't replace good layout. For long labels, see how to wrap text in a cell, and for extra lines, see how to add borders in Excel.
How to create your own cell style#
Make a custom style when the built-in ones don't match your company's look:
- Format one cell exactly the way you want: font, fill, border, number format.
- With that cell selected, choose Home > Cell Styles > New Cell Style.
- Type a name, such as "Company input".
- Untick any parts the style should leave alone. For example, untick Number if the style should keep each cell's own number format.
- Click OK. The style appears under Custom at the top of the gallery.
To change a style, right-click it in the gallery and choose Modify, then click Format. Every cell that uses the style updates at once. To copy styles from another open workbook, use Cell Styles > Merge Styles. Styles are saved in the workbook, so a template with your custom styles keeps them for every file built from it.
Cell styles vs Format Painter vs table styles#
These three tools all copy a look, but they behave differently:
- Format Painter copies the formatting of one cell to another, once. There is no link afterwards, so later changes must be repeated by hand. The guide to Format Painter shows how to use it many times in a row.
- Cell styles keep a link, so one edit restyles the whole workbook.
- Table styles (from Format as Table) format a whole table: banded rows, header row and total row. They are a separate gallery and work only on Excel tables.
A common mix is a table style for the data, plus Input, Total and Check Cell styles for the model around it.
Common problems with cell styles#
Most surprises come from styles that include more parts than you expected:
- A style wiped my number format. The style includes the Number part. Modify it and untick Number, or apply the number format after the style.
- Decimals look wrong after applying Comma or Currency. These styles set two decimal places. Adjust them with the Increase and Decrease Decimal buttons; see how to change decimal places.
- The colours changed when I changed the theme. Themed styles follow the theme colours. That is by design.
- I can't delete Normal. Normal is the base style for every cell and can't be deleted. Modifying it changes the default look of the whole workbook, so do that with care.
- The workbook has hundreds of odd styles. Copying sheets between files can bring styles along. Delete unused custom ones from the gallery with right-click > Delete.
Practise it#
Formatting is quick to learn but easy to forget under pressure in a test. Practise cell formatting in a live spreadsheet, then build speed with the formatting shortcuts lesson, where you format numbers, borders and headings from the keyboard and get instant feedback. You can also try the check-cell exercise on this page first.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
B6 holds the typed total (styled as Total). In D2, the Check Cell, write a check with IF and SUM that shows OK when B2:B5 adds up to B6, and Check when it doesn't.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Amount | Check | |||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 | |||||
| 7 | |||||
| 8 | |||||
| 9 |
Tip: Compare SUM(B2:B5) with B6 inside IF. The text results go in double quotes.
Practise this in a lesson
Frequently asked questions
Where are cell styles in Excel?
On the Home tab, in the Styles group, click Cell Styles to open the gallery. On a narrow window the group may collapse into a single Styles button. Excel for Mac has the same Cell Styles button on its Home tab.
How do I create a custom cell style in Excel?
Format one cell the way you want, then choose Home > Cell Styles > New Cell Style. Type a name, tick the parts the style should include, and click OK. The new style appears at the top of the gallery under Custom.
How do I change a cell style everywhere at once?
Right-click the style in the Cell Styles gallery and choose Modify, then click Format and make your changes. Every cell that uses the style updates straight away.
How do I remove a cell style from cells?
Select the cells and apply the Normal style from the gallery, or use Home > Clear > Clear Formats. Both return the cells to the default formatting.
How do I copy cell styles to another workbook?
Open both workbooks, go to the one that needs the styles, and choose Home > Cell Styles > Merge Styles. Pick the workbook that has the styles and click OK.