Conditional formatting not working excel
Tutor 5 (10 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
Conditional formatting may not work in Excel due to several common issues related to formula errors, cell references, formatting rules, or Excel settings.
1. Check Cell References
Conditional formatting depends on the correct referencing of cells. Relative and absolute references behave differently:
-
A relative reference (e.g.,
A1) changes depending on the cell where the formatting is applied. -
An absolute reference (e.g.,
$A$1) stays fixed.
Incorrect references often cause formatting to appear in the wrong cells or not at all.
Example: If a rule uses =A1>100 for a range starting from B1, the rule may not trigger because the formula is pointing to column A instead of column B.
2. Verify the Formula Logic
Incorrect formula logic prevents conditional formatting from working.
-
Test the formula in a separate cell using
=to ensure it returns TRUE or FALSE. -
Use simple formulas first, such as
=B1>50.
3. Check Formatting Priority
Conditional formatting rules follow a priority order.
-
Go to Home → Conditional Formatting → Manage Rules.
-
Check that the correct rule is at the top if multiple rules apply.
-
Enable Stop If True carefully, as it can block subsequent rules.
4. Ensure Data Types Match
Conditional formatting works differently depending on the data type.
-
Numbers formatted as text may not trigger rules like
>100. -
Convert numbers stored as text to proper numeric values using Data → Text to Columns.
5. Remove Extra Spaces or Characters
Hidden spaces or non-printing characters can prevent matches.
-
Use
TRIM()to remove extra spaces. -
Use
CLEAN()to remove non-printing characters.
6. Check for Merged Cells
Conditional formatting behaves unpredictably on merged cells.
-
Apply rules to individual cells instead of merged ranges.
-
Unmerge cells using Home → Merge & Center → Unmerge Cells.
7. Ensure Conditional Formatting Is Enabled
Sometimes Excel settings may block formatting display:
-
Go to File → Options → Advanced.
-
Scroll to Display options for this worksheet.
-
Ensure Show conditional formatting in cells is checked.
8. Mac vs Windows Differences
Conditional formatting functions similarly on Mac and Windows.
-
Keyboard shortcuts differ: Windows →
Ctrl + 1for format, Mac →Command + 1. -
Some formula behaviors in older Excel versions may vary slightly.
9. Clear and Reapply Rules
Corrupted rules sometimes prevent formatting:
-
Go to Home → Conditional Formatting → Clear Rules → Clear Rules from Entire Sheet.
-
Reapply rules carefully with correct formulas and ranges.
10. Common Example
Scenario: Highlight cells in B2:B10 that are greater than 50.
-
Select
B2:B10. -
Go to Home → Conditional Formatting → New Rule → Use a formula to determine which cells to format.
-
Enter the formula:
=B2>50
-
Set desired formatting (e.g., fill color).
-
Click OK. Cells greater than 50 will highlight correctly.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Excel chart axis labels not showing
Answers · 1
Excel chart title not showing
Answers · 1
Excel chart labels not showing
Answers · 1
Excel chart not showing data
Answers · 1