To highlight a percentage value in a cell using different colors, where each color represents a particular level, you can use multiple conditional formatting rules, with each rule targeting a different threshold. In the example shown, conditional formatting is applied to the range B5:B12 using 3 formulas:
Note: formulas are entered relative to the upper left cell in the range, which is B5 in this example.
How this formula works
Conditional formatting rules are evaluated in order.
For each cell in the range B5:B12, the first formula is evaluated. If the value is greater than or equal to 90%, the formula returns TRUE and the green fill is applied. If the value is not greater than or equal to 90%, the formula returns FALSE and the rule is not triggered.
For each cell in the range B5:B12, the second formula is evaluated. If the value is greater than or equal to 80%, the formula returns TRUE and the yellow fill is applied.
For each cell in the range B5:B12, the third formula is evaluated. If the value is less than 80%, the formula returns TRUE and the pink fill is applied.
The "stop if true" option is enabled for the first two rules to prevent further processing, since the rules are mutually exclusive.
Note: Excel contains many built-in "presets" for highlighting values above / below / between / equal to certain values, but if you want more flexibility you can apply conditional formatting using your own formula as explained in this article. If you...
To highlight entire rows with conditional formatting when a value meets specific criteria, use a formula with a mixed reference that locks the column. In the example shown, all rows where the owner is "bob" are highlighted with the following formula...
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.