A traffic light dashboard in Excel uses conditional formatting to color cells red, amber, or green based on their values, so you can scan a sheet and instantly see what needs attention. You do not need any add-ins or macros: built-in conditional formatting rules and a small helper column are enough. The steps below work in Excel for Microsoft 365, Excel 2021, and Excel 2019 on Windows and Mac; the exact menu labels can differ slightly by version and region.
What You'll Need
- Excel for Microsoft 365, Excel 2021, or Excel 2019 (desktop app recommended; the web version supports conditional formatting but has fewer options).
- A table of data with at least one numeric column to evaluate (for example, a score, a percentage, or a variance).
- Agreed thresholds for what counts as red, amber, and green.
Step-by-Step
- Lay out your data. Put your metrics in a clean table: one row per item, one column per metric. Keep the numbers in their own columns and leave a separate column free for the traffic light indicator. Avoid merged cells in the table, because they break conditional formatting ranges.
- Decide your thresholds. Write them down before you touch formatting. For example: below 70% = red, 70% to 89% = amber, 90% and above = green. If lower is better (such as error rate), reverse the logic.
- Create the indicator column. In the first empty column beside your data, enter a formula that returns a short label. For a score in cell B2 with the thresholds above, use
=IF(B2<0.7,"Red",IF(B2<0.9,"Amber","Green")). Copy the formula down the column. This gives you a text value you can color reliably. - Select the indicator cells. Highlight the range containing the formulas, for example C2:C20. Do not include the header row unless you want the header colored too.
- Open Conditional Formatting. On the Home tab, click Conditional Formatting > Highlight Cells Rules > Text that Contains. (On Mac, the path is Home > Conditional Formatting > Highlight Cells Rules.)
- Add the red rule. Type Red in the box, choose Light Red Fill with Dark Red Text, and click OK. Every cell containing the word Red now turns red.
- Add the amber rule. Repeat the same menu path, type Amber, and choose Light Yellow Fill with Dark Yellow Text.
- Add the green rule. Repeat once more, type Green, and choose Light Green Fill with Dark Green Text.
- Test the rules. Change a value in your data column so it crosses a threshold. The indicator label and its color should update together. If the color does not change, the formula range and the formatting range probably do not line up.
- Optional: color the metric cell itself. If you prefer the number cell to carry the color instead of a separate label, select the metric range, go to Conditional Formatting > New Rule > Format only cells that contain, and build one rule per threshold using Cell Value with less than, between, and greater than. Use the same numbers you wrote down in step 2.
- Tidy the dashboard. Freeze the header row with View > Freeze Panes, turn off gridlines under View, and widen columns so the labels are readable. Add a title row above the table.
- Save a copy as a template. Use File > Save As and keep a blank version so you can reuse the formatting on next month's data without rebuilding the rules.
Common Mistakes
- Applying the rule to the wrong range, so some rows stay uncolored. Reopen Conditional Formatting > Manage Rules and check the Applies to box.
- Mixing percentages and decimals. A value of 70 formatted as a percentage is stored as 0.7, so a rule written as "less than 70" will never fire correctly.
- Using text rules on numbers, or number rules on text. Pick the rule type that matches what is actually in the cell.
- Forgetting that rules are evaluated top to bottom. If two rules could both apply, use Manage Rules to set priority and tick Stop If True where needed.
- Hard-coding thresholds in several places. Put the threshold numbers in their own cells and reference them in the formula so you only update one place.
Tips
- Use three colors only. More colors make the dashboard harder to read at a glance.
- Keep red for genuine problems. If everything is red, nothing stands out.
- Add an icon set (Conditional Formatting > Icon Sets) if you want arrows or circles instead of filled cells, but do not combine icon sets and text rules on the same cells.
- Convert the table to an Excel Table (Insert > Table) so new rows inherit the formatting automatically.
- Print or share as PDF with File > Export to keep the colors intact.
Troubleshooting
- Colors do not appear: confirm the rule is enabled in Manage Rules and that the cell value exactly matches the text, including capitalization settings.
- Colors appear in the wrong cells: the Applies to range is offset from your formula column. Delete the rule and reapply it to the correct range.
- Rules stopped working after copying: copied rules can carry relative references that shift. Check the formula in Manage Rules and make sure it points at the right column.
- Colors vanish when you open the file elsewhere: older Excel versions and some online viewers handle certain rule types differently. Stick to the standard Highlight Cells Rules for the widest compatibility.
- If that did not work: clear the rules with Conditional Formatting > Clear Rules > Clear Rules from Selected Cells, then rebuild one rule at a time and test after each.
Frequently Asked Questions
Can I make the traffic light update automatically?
Yes. Conditional formatting recalculates whenever the underlying value changes, so as long as your formula points at live cells, the colors follow the data.
Do I need macros or add-ins?
No. Built-in conditional formatting handles the coloring. Macros are only useful if you want to generate reports or refresh data from an external source.
Can I use more than three colors?
You can add as many rules as you like, but three states are easier to interpret. If you need more, consider a color scale instead.
Why does my percentage rule not trigger?
Percentages are stored as decimals. Write the rule against the decimal value (0.7 rather than 70) or reference a cell that holds the threshold.
Does this work in Excel for the web?
Basic conditional formatting works in Excel for the web, but some rule types and icon sets are limited. Build the dashboard in the desktop app if you need full control.