Sei sulla pagina 1di 4

4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet

Cart Login

Quick, clean, and to the point


Training Videos Functions Formulas Shortcuts Blog

Search... Search

Conditional formatting highlight target percentage

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:

= B5 >= 90% // green


= B5 >= 80% // yellow
= B5 < 80% // pink

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.

How this formula works

Conditional formatting rules are evaluated in order.

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

Excel Formula Training


Learn Excel formulas and functions with concise, clear videos. Master
absolute/relative addresses, dates, text, named ranges, and tools for
troubleshooting. Each video comes with a practice worksheet to follow
along. Start today - instant access, 100% guarantee.

https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 2/4
4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet

Click for more information.

500 Formula Examples, thoughtfully explained.

Download 200+ Excel Shortcuts


Get over 200 Excel shortcuts for Windows and Mac in one handy PDF.

email address GetthePDF

Conditionalformatting Highlightcellsthat Coolthingsyoucando Excelvideo:Howto


withformulas(10... equal withconditional... applyconditional...

SUMIFSwithmultiple VLOOKUPwith Highlightapproximate Conditionalformatting


criteriaandORlogic multiplecritiera matchlookup... ganttchart

0Comments exceljet
1 Login

Recommend Share SortbyNewest

Startthediscussion

Bethefirsttocomment.

Subscribe d AddDisqustoyoursiteAddDisqusAdd Privacy

https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 3/4
4/6/2017 Excelformula:Conditionalformattinghighlighttargetpercentage|Exceljet

Excel Function Guide


500 FormulaExamples
222 Excel Shortcuts
IF function
VLOOKUPfunction
SUMIFS function
COUNTIFS function
Pivot Tables
Conditional formatting
Excel People
Excel Books

https://exceljet.net/formula/conditionalformattinghighlighttargetpercentage 4/4

Potrebbero piacerti anche