How to Remove Conditional Formatting Fill from Blank Excel Cells
Question details
The user needs to prevent conditional formatting rules from applying background fill colors to empty cells.

- Product
- Spreadsheets
- Device & OS
- not provided
- Scenario
- Applying conditional formatting (especially rules involving date or less-than comparisons) to a range of data that includes empty cells.
- Observed behavior
- Blank cells are being evaluated as zero, causing the conditional formatting condition to trigger and erroneously apply fill colors to cells that contain no data.
Identify the exact cell range where the unwanted formatting occurs and take note of the existing conditional formatting rules applied to those cells.
Create a Rule for Blank Cells and Enable 'Stop If True'
This is the most reliable method. It creates a high-priority rule specifically for blank cells that halts any further formatting.
By explicitly telling the spreadsheet to format blank cells with 'No Color' and stopping further rule evaluation, you bypass the default behavior where empty cells are treated as zeros.
Highlight the entire range of cells that is currently affected by the unwanted conditional formatting.
Navigate to the Home tab on the top ribbon, click on Conditional Formatting, and select 'New Rule' from the dropdown menu.
Choose 'Format only cells that contain'. In the rule description, set the first dropdown to 'Cell Value', the second to 'equal to', and type ="" in the value field.
Click the Format button, navigate to the Fill tab, select 'No Color', and click OK to confirm the format settings.
Go back to Conditional Formatting > Manage Rules. Locate the new rule you just created, ensure it is at the top of the list, check the 'Stop If True' box next to it, and click Apply.

Modify the Existing Formula to Exclude Blanks
Use this method if you prefer to adjust your current conditional formatting formula rather than creating a new rule.
Effortlessly Manage Conditional Formatting with WPS Spreadsheet
WPS Spreadsheet provides a highly intuitive Conditional Formatting Rules Manager, making it incredibly easy to fix blank cell formatting issues, manage rule priorities, and keep your data visualization accurate.
- 1. Open Your Document: Launch WPS Spreadsheet and open the file containing the formatting issues.
- 2. Access Formatting Tools: Select your data range and click on 'Conditional Formatting' in the Home tab.
- 3. Add a Blank Cell Rule: Click 'New Rule', choose to format cells containing blanks, and set the format to 'No Color'.
- 4. Manage Rule Priority: Open 'Manage Rules', ensure your new blank cell rule is at the top of the list.
- 5. Apply 'Stop If True': Check the 'Stop If True' box next to the blank cell rule and click Apply.

Frequently Asked Questions
Why does my spreadsheet treat blank cells as zero in conditional formatting?
In spreadsheet logic, an empty cell evaluated in a mathematical or date comparison is inherently treated as a zero value. For example, if a rule checks if a cell is less than a specific date or number, the empty cell (0) will trigger the rule as true, applying the color.
What does the 'Stop If True' checkbox do?
The 'Stop If True' feature halts the evaluation of any subsequent conditional formatting rules if the current rule's condition is met. By applying a 'No Color' rule to blank cells and checking 'Stop If True', you prevent lower-priority rules from coloring those empty cells.
How do I clear conditional formatting only from specific blank cells?
To selectively remove formatting without deleting the rule entirely, creating an overriding rule for blank cells (with 'No Color' and 'Stop If True' enabled) is the most efficient method. Alternatively, you can use the ISBLANK formula to modify your existing rule criteria.
Does WPS Spreadsheet support complex conditional formatting formulas?
Yes. WPS Spreadsheet fully supports all standard and complex conditional formatting formulas, including ISBLANK, AND, OR, and nested functions, ensuring complete compatibility with files created in Microsoft Excel.




