How to Remove Excess Styles from Excel Workbooks
Question details
The user needs to remove excess cell styles to improve workbook performance and resolve formatting limit errors.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Opening, saving, or editing heavily formatted Excel workbooks is extremely slow and unstable.
- Observed behavior
- The workbook suffers from severe performance degradation and triggers the 'too many different cell formats' warning due to thousands of duplicate or unnecessary cell styles.
Always create a backup copy of your workbook before attempting to remove styles or run cleanup macros, as removing formatting across multiple sheets cannot always be easily undone.
Manually Clear Formatting from Unused Cells
The safest way to reduce style bloat is to clear formatting from rows and columns that do not contain actual data.
Often, formatting is accidentally applied to entire columns or rows instead of just the active data range. This exponentially increases the number of cell formats Excel has to process.
Click the row number of the first blank row below your data. Press Ctrl + Shift + Down Arrow on your keyboard to select all rows down to the very bottom of the worksheet.
Navigate to the Home tab on the ribbon. In the Editing group, click the 'Clear' dropdown (eraser icon) and select 'Clear Formats'.
Click the column letter of the first blank column to the right of your data. Press Ctrl + Shift + Right Arrow to select all columns to the far edge of the worksheet.
Click 'Clear' > 'Clear Formats' again. Repeat this process for all affected worksheets, then save your workbook to apply the size reduction.

Use the Excel Inquire Add-in
Microsoft's built-in Inquire add-in includes a dedicated tool to automatically clean excess cell formatting from your worksheets.
Run a VBA Macro to Delete Custom Styles
Use a VBA script to iterate through the workbook's style library and automatically delete all non-built-in styles causing the error.
Experience Faster Spreadsheet Performance with WPS Office
If heavy workbooks and excess style errors in Microsoft Excel are slowing down your productivity, try WPS Office. It is a lightweight, highly compatible alternative designed for speed, stability, and efficiency.
- 1. Download the software: Visit the official WPS Office website and download the free installation package.
- 2. Install WPS Office: Run the installer and follow the quick on-screen instructions to set up the software on your computer.
- 3. Open your workbooks: Launch WPS Spreadsheet and open your existing .xlsx files to instantly enjoy a faster, smoother editing experience.

Frequently Asked Questions
What causes the 'too many different cell formats' error in Excel?
This error occurs when a single workbook contains more than 64,000 unique cell format combinations. Frequently copying and pasting data from different workbooks, websites, or using specific external add-ins can quickly multiply custom styles and trigger this limit.
Will clearing formatting delete my data?
No, using the 'Clear Formats' option only removes the visual styles (such as font colors, highlights, borders, and number formatting) while keeping the actual text or numbers intact. Be careful not to click 'Clear All', as that will delete both the formatting and your data.
Can third-party tools help clean up my workbook?
Yes, reputable third-party add-ins like ASAP Utilities offer specialized tools to safely remove unused styles and optimize your workbook. Always verify their security, data-handling compliance, and publisher reputation before installing any third-party extensions.




