Skip to content
ArumSoft Learning
KO

    Cell Styles and Themes in Excel

    Format cells with named cell styles you can change in one place, create your own styles, and switch a workbook's colors and fonts with a theme.

    Level
    Intermediate
    Time
    10 min read
    Updated:
    Applies to:
    Excel for Microsoft 365, Excel 2021, Excel 2019
    Title, Heading 3 and Total styles on a term grade sheet. The Total row holds the averages, 78.75 and 81.
    Example: Title, Heading 3 and Total styles on a term grade sheet. The Total row holds the averages, 78.75 and 81.

    What you'll learn

    • Apply built-in cell styles such as Input, Calculation, Output, Good and Bad
    • Modify a style so every cell that uses it updates at once
    • Create a custom cell style and bring styles in from another workbook
    • Change a workbook's theme, theme colors and theme fonts
    • Predict which formatting changes when the theme changes and which stays

    A cell style is a named set of formatting (font, fill, borders, number format and more) that you apply with one click. Because the cells remember the style's name, you can change the style once and every cell that uses it changes too. A theme sits one level above: it sets the colors and fonts the whole workbook draws from, so switching themes recolors headings, tables and charts in one go. Together they keep a workbook consistent without formatting cell by cell. Alt+' (Alt and the apostrophe key) opens the Style dialog for the selected cell.

    Where to find them

    Cell styles are in the Styles group of the Home tab. The gallery is grouped into sections, with commands for your own styles at the bottom.

    Home › Styles › Cell Styles: the gallery's sections, and New Cell Style and Merge Styles at the bottom.

    Themes are on the Page Layout tab, in the Themes group: Themes switches the whole theme, and Colors, Fonts and Effects change one part of it.

    Page Layout › Themes: the theme gallery, plus separate Colors, Fonts and Effects.

    Apply a cell style

    This small model works out the profit on an event. Some cells are inputs you type, some are calculations. Styles make the difference visible, which is the standard way to mark inputs in a shared model.

    1. Select the input cells

      Select B2:B4, hold Ctrl and click B6. These are the numbers someone is allowed to change.

    2. Pick the Input style

      Click Home then Styles then Cell Styles. Point at a style to preview it on the sheet, then click Input in the Data and Model section.

    3. Style the results

      Select B5 and choose Calculation. Select B7 and choose Output.

      AB
      1ItemValue
      2Tickets sold1,200
      3Price15
      4Discount10%
      5Revenue16,200
      6Venue cost5,000
      7Profit11,200
      Inputs (B2:B4 and B6) in the Input style, the revenue formula in B5 as Calculation and the profit in B7 as Output.

    Revenue is 1,200 × 15 less 10%, which is 16,200, and profit is 16,200 − 5,000 = 11,200. The styles didn't change any of that; they only tell a reader which cells to type in.

    To remove a style, select the cells and choose Normal, the default style every cell starts with.

    SectionStylesGood for
    Good, Bad and NeutralNormal, Bad, Good, NeutralStatus flags such as Done, Late, On hold
    Data and ModelCalculation, Check Cell, Explanatory Text, Input, Linked Cell, Note, Output, Warning TextShowing what each cell of a model does
    Titles and HeadingsHeading 1 to Heading 4, Title, TotalReport titles, section headings, total rows
    Themed Cell StylesAccent fills in several shadesColored headers that follow the theme
    Number FormatComma, Comma [0], Currency, Currency [0], PercentNumber formats as styles

    Change a style everywhere at once

    Say your team prefers inputs in pale yellow. You don't need to find every input cell: change the style.

    1. Open the style for editing

      In the Cell Styles gallery, right-click Input and choose Modify. The Style dialog opens.

    2. Change the formatting

      Click Format. The familiar Format Cells dialog opens. On the Fill tab, pick a pale yellow and click OK.

    3. Save the change

      Click OK in the Style dialog. Every cell with the Input style in this workbook turns pale yellow, on every sheet.

    Modifying Normal is how you change the default look of a workbook: change its font, and every cell that hasn't been given another style or font follows.

    Create your own style

    Built-in styles may not match your house style. Make your own and it appears at the top of the gallery, under Custom.

    1. Format a cell the way you want

      Format one cell by hand: say bold, a thick bottom border and a number format with a thousands separator.

    2. Choose New Cell Style

      With that cell selected, choose Home then Styles then Cell Styles then New Cell Style. The Style dialog opens with the cell's formatting already filled in.

    3. Name it and choose what it includes

      Type a name such as Key figure. Untick any part you want the style to leave alone. For example, untick Alignment so the style doesn't override each cell's alignment. Click OK.

      The Style dialog for a new style: its name, and the parts of the formatting it includes.

    Styles belong to the workbook they're created in. To copy them into another workbook, open both, go to the workbook that needs them and choose Merge Styles at the bottom of the gallery, then pick the workbook to copy from.

    Change the theme

    Every workbook starts with the Office theme. In current Microsoft 365, its body font is Aptos Narrow; Excel 2021 and earlier use Calibri.

    1. Open the theme gallery

      Click Page Layout then Themes then Themes. Point at a theme to preview it.

    2. Pick a theme

      Click one. Fills chosen from the theme colors, theme-based cell styles, tables and charts all change color, and text in the theme fonts changes font.

    3. Adjust one part if needed

      Use Colors or Fonts in the same group to swap just the palette or just the fonts. At the bottom of each list, Customize Colors and Customize Fonts let you build your own, for example from your organization's brand colors.

    A theme only reaches the formatting that was chosen from it. Whether a color follows the theme depends on where in the palette you picked it:

    FormattingChanges with the theme?
    A fill or font color from Theme Colors (the top grid of the color palette)Yes
    A color from Standard Colors (the bottom row) or More ColorsNo
    A font marked (Body) or (Headings) in the font listYes
    A font picked by name, such as ArialNo
    Themed cell styles, Heading and Title styles, table and chart stylesYes

    To reuse a theme in other workbooks, choose Save Current Theme at the bottom of the Themes gallery. Saved themes appear under Custom in the gallery.

    Real-world scenarios

    Projects

    A status column the whole team reads the same way

    An event checklist uses Good for Done, Bad for Late and Neutral for On hold. Select each status cell and click the matching style in the Good, Bad and Neutral section.

    ABC
    1TaskOwnerStatus
    2Book venueAnaDone
    3Print ticketsBenLate
    4Order foodChrisOn hold
    5Send invitesDanaDone
    Done in the Good style, Late in Bad and On hold in Neutral.

    Everyone who opens the file sees the same three colors with the same meaning. If the team later decides Late should be orange rather than red, modify Bad once instead of recoloring cells.

    School

    A grade sheet with a title, headings and a total row

    Give A1 the Title style, the column headings in row 2 Heading 3, and the average row Total, which adds a top border and a double bottom border.

    ABC
    1Term grades
    2StudentMathScience
    3Ana8288
    4Ben7479
    5Chloe9185
    6Diego6872
    7Average78.7581
    Title, Heading 3 and Total styles on a term grade sheet. The Total row holds the averages, 78.75 and 81.

    The averages are =AVERAGE(B3:B6) (78.75) and =AVERAGE(C3:C6) (81). The Heading and Title styles take their colors from the theme, so if the school's template uses a different theme, the sheet picks up its colors without any reformatting.

    Budget

    A family budget in your favorite colors

    The budget's header row uses a themed cell style (Accent1, say), and the chart next to it uses the default colors. Choose a different theme, or just a different palette from Page Layout then Themes then Colors.

    ABC
    1CategoryBudgetSpent
    2Rent1,2001,200
    3Groceries450480
    4Transport150120
    5Fun200260
    A budget whose header fill comes from the theme. Changing the theme's colors recolors the header and any chart at once.

    The header and the chart change together and stay matched, because both draw from the same theme colors. A cell you'd colored from Standard Colors would keep its color, which is a quick way to spot formatting that doesn't follow the theme.

    Common mistakes

    • Formatting by hand after applying a style. The cell still carries the style's name, but it no longer looks like the style. Change the style itself, or make a new one, so the formatting stays consistent.
    • Picking colors from Standard Colors. They ignore the theme, so a later theme change leaves those cells behind. Use the Theme Colors grid when the color should follow the theme.
    • Expecting styles to be in every workbook. Custom styles live in one workbook. Use Merge Styles, or start new workbooks from a template that has them.
    • Changing Normal by accident. Modifying Normal restyles every plain cell in the workbook. If the whole sheet suddenly changes font, undo with Ctrl+Z.

    Practice

    Practice

    Style a small model and retheme it

    Type the event model from this page into a new workbook, with =B2*B3*(1-B4) in B5 and =B5-B6 in B7. Then:

    1. Apply Input to B2:B4 and B6, Calculation to B5 and Output to B7.
    2. Modify the Input style so its fill is a color you like. Check that all four inputs changed.
    3. Format a cell by hand and save it as a new style called Key figure. Apply it to another cell.
    4. Give the header row a themed cell style, then try three different themes from Page Layout then Themes then Themes and watch the header change.
    5. Give one cell a fill from Standard Colors and switch themes again. Which cells kept their color?

    Related

    Was this guide helpful? Spot a mistake? Send feedback · admin@arumsoft.com