How to Fix Excel PivotTable Conditional Formatting Rules Disappearing
Question details
Formula-based conditional formatting rules applied to a PivotTable disappear after saving and reopening the workbook.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user applies multiple formula-based conditional formatting rules to a PivotTable, saves the file, and then closes it.
- Observed behavior
- When the workbook is reopened, the applied conditional formatting rules are no longer present on the PivotTable.
Ensure your Excel workbook is saved in the latest .xlsx or .xlsb format, as older formats like .xls have strict limitations and may automatically drop advanced formula-based conditional formatting rules upon saving.
Test for File Corruption and Rule Configuration Limitations
Since Excel does not have a strict 60-rule limit for PivotTables, testing a clean file helps determine if your current workbook is corrupted or if specific rules are conflicting.
Many users assume there is a maximum rule limit in Excel, but testing confirms that PivotTables can retain well over 60 conditional formatting rules. If rules are dropping upon reopening, the issue is often specific to the file's integrity or the logic of the formulas used in the formatting.
Open a blank Excel workbook to serve as a clean testing environment.
Insert a basic PivotTable using dummy data and apply several formula-based conditional formatting rules similar to those in your original file.
Save the new workbook to your local drive as an .xlsx file, close Excel completely, and then reopen the file.
If the rules persist in the new workbook, your original file is likely corrupted. Copy your raw data to a fresh workbook and recreate the PivotTable to resolve the issue.

Ensure Proper Application of Rules to PivotTable Structure
Applying formatting rules to specific cell ranges instead of the PivotTable's dynamic structure can cause rules to vanish when the data refreshes or calculates on startup.
Try WPS Office for Reliable Data Analysis and Formatting
If you are experiencing persistent issues with Excel dropping your PivotTable formatting rules, consider switching to WPS Office. It provides a lightweight, highly compatible alternative for handling complex spreadsheets and PivotTables without losing your formatting rules.
- 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite.
- 2. Open WPS Spreadsheets: Launch WPS Spreadsheets, the robust alternative to Microsoft Excel.
- 3. Import your workbook: Click 'Open' and select your existing .xlsx file to continue working with your PivotTables flawlessly.

Frequently Asked Questions
Is there a 60-rule limit for conditional formatting in Excel PivotTables?
No, Excel does not impose a strict 60-rule limit on PivotTables. Testing confirms that PivotTables can successfully retain more than 60 rules after closing and reopening. If rules disappear, it points to file corruption, unsupported file formats, or improper rule application.
Why do my PivotTable conditional formatting rules disappear when I refresh the data?
This commonly happens if the formatting rule was applied to a static range of cells (e.g., A1:B10) instead of the dynamic fields of the PivotTable. To prevent this, go to the Conditional Formatting Rules Manager and ensure the rule applies to the specific structural PivotTable fields.
Can saving an Excel file in an older format cause formatting to be lost?
Yes, saving a modern workbook in the older Excel 97-2003 format (.xls) can result in the loss of advanced features. This includes complex formula-based conditional formatting rules. Always save your files as .xlsx or .xlsb to preserve these rules.
How can I safely share my Excel file for community troubleshooting?
You can upload your workbook to a secure cloud service like OneDrive or Google Drive and share the link. Always remember to sanitize the file first by replacing or removing any sensitive, personal, or confidential information before sharing.




