Conditional Formatting percent incorrect Excel

旧时模样 提交于 2019-12-30 08:33:32

问题


I have the following:

So I want

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

However above 95% is still red.

Any ideas?

Thanks, James


回答1:


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.



来源:https://stackoverflow.com/questions/21881624/conditional-formatting-percent-incorrect-excel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!