Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Cart Login
Search... Search
Generic formula
= A1 >= X
= A1 >= Y
= A1 < Y
Explanation
If you want to highlight a percentage value in a cell using different colors, with each color representing a certain level of achievement,
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:
https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 1/4
4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet
Note: formulas areentered relative to theupper left cell in the range, which is B5 in this example.
1. For each cell in the range B5:B12, the rst formula is evaluated. If the value is greater than or equal to 90%, the formula returns
TRUE and the green ll is applied. If the value is not greater than or equal to 90%, the formula returns FALSE and the rule is not
triggered.
2. 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 ll is applied.
3. For each cell in the range B5:B12, the third formula is evaluated. If the value is less than80%, the formula returns TRUE and the
pink ll is applied.
The "stop if true" option is enabled for the rst two rules to prevent further processing, since the rules are mutually exclusive.
Related videos
How to apply conditional formatting with a formula
How to make conditional formatting variable
How to build a search box to highlight data
How to highlight rows with conditional formatting
See also
Conditional formatting with formulas (10 examples)
Test conditional formatting with dummy formulas
Cool things you can do with conditional formatting
Author
Dave Bruns
https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 2/4
4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet
0Comments exceljet
1 Login
Startthediscussion
Bethefirsttocomment.
https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 3/4
4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet
https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 4/4