Formatting Issues

How to Fix Excel Traffic-Light Icons for Calculated Percentages

John WilsonJohn Wilson Nov 4, 2026 869 views

Question details

The user needs to configure conditional formatting so that traffic-light icons correctly display green for values above 95%, yellow for exactly 95%, and red below 95%, while ensuring blank cells do not trigger formatting.

How to Fix Excel Traffic-Light Icons for Calculated Percentages
Product
Spreadsheet
Device & OS
not provided
Scenario
Applying traffic-light icon sets to a column of dynamically calculated percentages for new production data.
Observed behavior
Default icon sets may calculate thresholds based on the relative percentile of the data range rather than absolute percentage numbers, and blank cells may display incorrect icons automatically.
Before you start

Ensure your calculated values are formatted numerically as percentages or decimals (e.g., 0.95) rather than text, so conditional formatting rules can evaluate them accurately.

Solution 1Recommended

Modify Icon Set Thresholds and Hide Icons for Blank Cells

Customize the conditional formatting rule to evaluate absolute numbers instead of percentiles, and add a rule to suppress formatting on blank cells.

By default, Excel's Icon Sets use 'Percent' type, which compares the cell against the highest and lowest values in the range. To evaluate against hard targets like 95%, you must change the rule type to 'Number'. Additionally, applying a 'Stop If True' rule for blank cells keeps your spreadsheet clean.

1
Apply Default Traffic Light Icons

Highlight your target range of percentages, including blank cells for future entries. Go to the Home tab, click 'Conditional Formatting', navigate to 'Icon Sets', and select the 3 Traffic Lights shape.

2
Edit the Rule Settings

Click 'Conditional Formatting' again and choose 'Manage Rules'. Select the Icon Set rule you just created and click 'Edit Rule'.

3
Adjust Values to Number Type

In the rule settings, change the 'Type' dropdown for both the Green and Yellow icons to 'Number'. Change the Green icon setting to '> 0.95'. Change the Yellow icon setting to '>= 0.95'. The Red icon will automatically adjust to '< 0.95'. Click OK.

4
Handle Blank Cells

To prevent empty cells from showing a red icon, click 'New Rule' in the Rules Manager. Select 'Format only cells that contain', set the dropdown to 'Blanks', and leave the formatting empty. Click OK, then check the 'Stop If True' box next to this new rule.

Modify Icon Set Thresholds and Hide Icons for Blank Cells
Dynamic Range Coverage: By applying this logic to empty cells in your column, new production data entered later will automatically receive the correct traffic light icon without manual adjustments.
Effortless Data Visualization

Create Traffic Light Indicators Easily with WPS Spreadsheet

WPS Spreadsheet offers an intuitive conditional formatting manager that allows you to easily set precise thresholds for icon sets, ensuring accurate data tracking and full compatibility with Excel files.

  1. 1. Select Data Range: Open your file in WPS Spreadsheet and highlight the column containing your calculated percentages.
  2. 2. Apply Icon Sets: Navigate to the Home tab, click Conditional Formatting, choose Icon Sets, and pick the traffic lights.
  3. 3. Manage Formatting Rules: Click Conditional Formatting > Manage Rules, edit your icon set, and switch the threshold types to 'Number' to enter your 0.95 target.
  4. 4. Exclude Empty Cells: Create a secondary rule for 'Blanks' under the Conditional Formatting manager and check 'Stop If True' to maintain a clean layout.
Intuitive conditional formatting rule manager for custom formulasSeamless compatibility with Microsoft Excel (.xlsx) formatsEasily handle blank cells and dynamic data rangesLightweight, fast, and free to use
microsoft office alternative - wps office

Frequently Asked Questions

Why do my traffic light icons show the wrong color for calculated percentages?

By default, the Icon Set rule type is set to 'Percent', which calculates the relative percentile based on the maximum and minimum values in your selected range. To evaluate the actual percentage value of the cell, you must change the rule Type to 'Number' and use decimal equivalents (like 0.95 for 95%).

How do I stop blank cells from displaying a red traffic light icon?

Because Excel interprets empty cells as zero, an icon set rule evaluating numbers below 95% will flag a blank cell with a red icon. You can fix this by adding a new conditional formatting rule configured to 'Format only cells that contain -> Blanks' with no specific format, and checking the 'Stop If True' box in the Rules Manager.

Can I apply this conditional formatting to future data entries automatically?

Yes. You can either format your data range as an official Table, which automatically extends formatting rules to new rows, or you can apply the formatting to a larger range containing blank cells, provided you have configured blank cells to show no icons.