Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Conditional Formatting percent incorrect Excel

I have the following:

enter image description here

So I want

99% and above = Green
Between 95% - 99% = Amber
Below 95% = Red

However above 95% is still red.

Any ideas?

Thanks, James

like image 248
James Deadman Avatar asked Feb 19 '14 13:02

James Deadman


People also ask

Why is conditional formatting highlighting incorrectly?

If your formula refers to a wrong cell, a mismatch between the active cell and the formula will occur, which will result in conditional formatting highlighting wrong cells.

How do I change the conditional formatting percentage in Excel?

Create a custom formatting rule In a worksheet, select the range of cells in which you'll be entering negative percentages. On the Home tab, click Conditional Formatting > New Rule. In the New Formatting Rule box, select Format only cells that contain.

How do I color code a cell in Excel based on a percentage?

Select cells in column. Conditional formatting -> New Rule->Format all cells based on their values->Format Style: 2-Colour Scale->Min-Type: Percent,Min-Value:0; Max-Type:Percent, Max-Value:100->OK.

Why are percentages not working Excel?

The Advanced tab of the Excel Options dialog box. Make sure the Enable Automatic Percent Entry check box is selected. Click on OK.


1 Answers

When you pick "percentage", this takes the values as a percentage of all the values. Since you're formatting based on the value itself, and not the value as a percentage of all the other values, you need to use 'Number' for the type and use 0.99 for the upper bound and 0.95 for the lower bound.

EDIT: It looks like the behaviour is different in Excel 2016 and one needs to actually put 99 and 95 (and not 0.99 and 0.95) as values. I guess Microsoft received some complaints or something and decided to change it.

like image 140
Jerry Avatar answered Oct 19 '22 21:10

Jerry