• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Excel Styles

You are here: Home / Excel / Excel Styles
September 28, 2016 by Mynda Treacy

Using Excel Styles in your workbooks can not only make formatting them quicker and easier, but also result in more professional and easier to use workbooks.

What are Excel Styles

Excel Styles are simply a group of formatting settings that can be applied in one fell swoop at the click of a single button. Those buttons are found on the Home tab of the ribbon (image below):

excel styles

Clicking on the down arrow (circled in orange above) expands the Style gallery:

expand style gallery

And you can see it’s broken down into 5 areas;

  1. Qualitative formats: Good, Bad and Neutral
  2. Data and Model coding
  3. Titles and Headings (similar to those you find in Microsoft Word)
  4. Themed Cell Styles
  5. Number Formats

Unfortunately you can’t rearrange the order of these areas.

There are also options to create a new style and merge styles together.

Working with Excel Styles

To apply a style to a cell, or group of cells simply select the cells and the go to the Style Gallery and click on the Style you want to apply.

You can add other formatting via the Format Cells dialog box (CTRL+1 to open) and these formats will be applied on top of the Style but they won’t modify the Style itself. Note: See ‘Gotcha’ number 1 below for consequences if you do this.

To remove a Style you can either Clear Formatting or choose the ‘Normal’ style from the gallery.

Right-clicking on a Style in the gallery reveals options to apply, modify, duplicate, delete and add the Style Gallery to the Quick Access Toolbar.

style gallery options

If you modify an existing Style those changes are automatically applied to all cells formatted with that Style, so it’s a very quick way to make formatting changes.

Creating your own Styles

Creating your own styles is particularly handy if you create Excel models or do a lot of reporting and want a consistent look and feel.

Hint: you might like to base the formatting on your company branding.

To create your own Style, click on the down arrow to expand the gallery; ‘New Cell Style’. This opens the following dialog box:

new cell style

You can select the types of formatting this style will contain (by default they are all selected), and then click the ‘Format’ button to choose the formatting you want:

create own style format

Tip: New Styles can be created from existing cells which contain the formatting you want. Simply select the cell before opening the New Cell Style dialog box. Alternatively, duplicating a style is another quick way to create a new style which uses much of the same formatting you want.

Style Gotchas

Excel Styles are awesome time savers but you have to be a little careful with them or they can cause you some headaches. Here are some common gotchas to watch out for:

  1. If you apply a Style to a cell and then make further formatting changes to that cell the Style is no longer connected to that cell. This means if you later modify the Style that cell will not pick up the changes.
  2. You can fix this by applying the Style to the cell again.

  1. Styles are linked to the workbook Theme. If you change the Theme it will modify your Styles accordingly.
  1. If you create a Style, but don’t use it anywhere in your workbook it does not get saved with the workbook. A way to prevent this is to have a worksheet in your file which contains a legend for all of your Styles so they’re used at least once.
  1. Copying cells or sheets that contain Styles into new workbooks also copies the Styles. In Excel 2010 and earlier this can cause a MB blowout on your file size and result in hundreds of Styles being added to your Style Gallery. Better to always copy and paste as values. However if you do want to quickly remove all custom Styles from a workbook you can use this code created by fellow Excel MVP, Zack Barresse:

Option Explicit

Sub DELETESTYLES()
 '---------------------------------------------------
 '/// Created on: 4-Jan-2013
 '/// Created by: Zack Barresse
 '/// Purpose: Deletes all custom styles in workbook.
 '///
 '/// Modified by Catalin Bombea, 22-May-2017
 '/// Reason: Simplify code.
 '/// https://www.myonlinetraininghub.com/excel-styles
 '---------------------------------------------------

 If MsgBox("Delete all custom styles from " & ThisWorkbook.Name & "?", vbYesNo + vbDefaultButton2, "Delete custom styles?") <> vbYes Then Exit Sub

  Dim TempStyle As Style

   For Each TempStyle In ThisWorkbook.Styles
  
    If TempStyle.BuiltIn = False Then TempStyle.Locked = False: TempStyle.Delete

   Next TempStyle

End Sub

So, next time you create an Excel model or a new Dashboard report consider using Styles to help users navigate the workbook and give it a more polished look and feel.

More Style

More tips and VBA code for working with Styles is available here:

MSDN - Using Styles

Mynda Treacy

Microsoft MVP logo

AUTHOR Mynda Treacy Co-Founder / Owner at My Online Training Hub

CIMA qualified Accountant with over 25 years experience in roles such as Global IT Financial Controller for investment banking firms Barclays Capital and NatWest Markets.

Mynda has been awarded Microsoft MVP status every year since 2014 for her expertise and contributions to educating people about Microsoft Excel.

Mynda teaches several courses here at MOTH including Excel Expert, Excel Dashboards, Power BI, Power Query and Power Pivot.

More Excel Posts

8 Excel in-built AI Tools

Built-in Excel AI Tools

Clean, analyze and visualize data with these Official Excel AI tools by Microsoft. Including formula writing, PivotTables, Charts and more.
excel date and time

Excel Date and Time

Everything you need to know about Excel date and time. Includes comprehensive workbook with every date and time function, plus PDF version.
10 mistakes to avoid when using excel formatting

10 Mistakes to Avoid With Excel Formatting

These are the Excel formatting habits that drive me crazy and what you should do instead to ensure you use formatting effectively.
linear regression

Excel Linear Regression

Excel linear regression is easy with the built-in tools. Use charts to plot linear regression or use the Data Analysis Toolpak.
speed up slow excel files

How to Improve Excel Performance

How to improve Excel performance and the various causes of slow Excel files so you can speed up Excel and avoid problems in future.
Securely Share Excel Files

Securely Share Excel Files

Securely share Excel files stored locally, on OneDrive or SharePoint. Prevent editing or downloading, specify who can open and edit the file.
excel check boxes

Interactive Excel Check Boxes

Excel check boxes are interactive elements you can link to formulas, charts, conditional formatting and more.
tips for working in multiple excel files

Hacks for Working in Multiple Excel Files

Awesome tips for navigating, arranging and working in multiple Excel files. Guaranteed to streamline your workflow and increase productivity.
chatgpt for excel

ChatGPT for Excel

Using ChatGPT for Excel can be hit and miss. Learn the best uses for ChatGPT to make your Excel life easier and what to avoid using it for.
excel templates

Where to Find Free Excel Templates

Where to find free Excel templates and how to create your own Excel templates. Using templates saves time and effort.


Category: Excel
Previous Post:Creating Multi-Function UDF'sCreating Multi-Function UDF’s
Next Post:When to say No to Excel Nested IFs

Sidebar

More results...

office scripts course

Popular Content

  • 10 Common Excel Mistakes to Avoid
  • Top Excel Functions for Data Analysts
  • Secrets to Building Excel Dashboards in Less Than 15 Minutes
  • Pro Excel Formula Writing Tips
  • Hidden Excel Double-Click Shortcuts
  • Top 10 Intermediate Excel Functions
  • 5 Pro Excel Dashboard Design Tips
  • 5 Excel SUM Function Tricks
  • 239 Excel Keyboard Shortcuts

100 Excel Tips and Tricks eBook

Download Free Tips & Tricks

239 Excel Keyboard Shortcuts

Download Free PDF

mynda treacy microsoft mvpHi, I'm Mynda Treacy and I run MOTH with my husband, Phil. Through our blog, webinars, YouTube channel and courses we hope we can help you learn Excel, Power Pivot and DAX, Power Query, Power BI, and Excel Dashboards.

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk – For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.

Download A Free Copy of 100 Excel Tips & Tricks

excel tips and tricks ebook

We respect your privacy. We won’t spam you.

x