Fix Excel Conditional Formatting When a Formula or Value Changes
Question details
The user needs conditional formatting to update when a cell's formula or value changes.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A formula is replaced with another formula or a typed number in a conditionally formatted range.
- Observed behavior
- The expected conditional formatting no longer appears or does not update after the cell changes.
Identify an affected cell and the range that should receive the formatting. Check whether the cell contains a typed number or a formula that returns a number.
Correct the Conditional Formatting Range and Formula Reference
Use this solution when a rule no longer matches the cells it should format.
Select an affected cell, then go to Home > Conditional Formatting > Manage Rules. If needed, choose This Worksheet to see all rules on the sheet.
Find the relevant rule and review its Applies to field. Change it if necessary so it includes the cells that should be formatted, such as =$X$5:$X$100.
Select the rule and click Edit Rule. For a rule applied to X5:X100, base a relative reference on the first cell, X5. For example, use =OR(X5>0.25,X5<-0.25) to format values outside the range from -0.25 to 0.25.
Click OK and Apply, then change a value in the formatted range to confirm that the rule updates as expected.

Check Cell Values, Calculation, and Rule Precedence
Use these checks if the range and formula are correct but the formatting still does not update.
Update Conditional Formatting Rules in WPS Spreadsheet
Open your workbook in WPS Spreadsheet and check the conditional formatting range, formula, and numeric values so the format responds to changes.
- 1. Open the workbook: Open WPS Spreadsheet and use Open to select your Excel workbook.
- 2. Inspect the rule: Select an affected cell and go to Home > Conditional Formatting > Manage Rules. Locate the rule and check its applied range.
- 3. Update the reference: Edit the rule so its formula refers to the first cell of the applied range. For X5:X100, an example is =OR(X5>0.25,X5<-0.25).
- 4. Test and save: Apply the rule, change a numeric value in the range to test it, and use File > Save to save the workbook.

Frequently Asked Questions
Why does conditional formatting work in one cell but not another?
The second cell may be outside the Applies to range, or the formula reference may shift incorrectly. Open Home > Conditional Formatting > Manage Rules and check both the range and the formula.
Does the formula need to refer to the first cell in the range?
For a formula-based rule with relative references, write the formula as it should work for the top-left cell of the Applies to range. Excel adjusts relative references for the other cells.
Can a number stored as text prevent a rule from working?
Yes. A numeric comparison may not behave as intended if the cell contains text. Select the cell, inspect its value in the formula bar, and convert or re-enter it as a number.
Why is another conditional format appearing instead of mine?
Another rule may have higher priority or Stop If True enabled. Go to Home > Conditional Formatting > Manage Rules to inspect and reorder rules affecting the same cells.




