Use conditional formatting for KPI flags
Watch alongside this article
Public YouTube resources matched to this article's topic, functions, and practice goal.


Master Conditional Formatting in Excel (The CORRECT Way)
Kenji Explains
Open on YouTube (opens in a new tab)
Excel Conditional Formatting in Depth
Technology for Teachers and Students
Open on YouTube (opens in a new tab)KPI flags help people scan a report quickly. The trick is to make them clear without turning the sheet into a wall of color.
Define thresholds first
Write the rules before opening the conditional formatting dialog. For example:
- Green: performance is on target or better
- Amber: performance is within 5 percent of target
- Red: performance is more than 5 percent below target
If the business cannot agree on thresholds, Excel cannot solve that for you.
Use color with labels
Do not rely on color alone. Add text such as On track, Watch, or At risk.
That helps readers who print the report, use different screens, or have color
vision differences.
Keep the palette restrained
Use formatting on the KPI cell or status cell, not across the whole report. Too much highlighting makes every number feel urgent.
Test edge cases
Check what happens when target is blank, zero, or missing. Good KPI rules handle messy real-world data, not only perfect examples.
Go deeper with this skill
Use formatting rules to highlight decisions, exceptions, and trends without making the sheet noisy. For this article, the goal is to practice: Create clear red, amber, and green KPI signals in Excel without making dashboards noisy.
Practice workbook setup
Create a table with actual values, targets, status labels, and a few deliberately unusual records.
Practice workflow
- Start with one rule that flags the most important exception.
- Use formulas for rules that depend on more than one column.
- Apply rules to the full table range, not just the current visible rows.
- Document the meaning of each color or icon near the report.
Quality checks
- Rules still work when new rows are added.
- The same color means the same thing everywhere.
- The rule order does not hide higher-priority conditions.
Common mistakes
- Stacking too many colors until nothing stands out.
- Applying rules to partial ranges and missing new data.
- Using visual flags without a clear business threshold.
Next actions
- Add a test row for each rule and confirm the correct formatting appears.
- Pair the visual flag with a filter so users can quickly isolate the exceptions.
Formula focus: test IF() with normal rows, blank inputs, and at least one edge case.

