Go Back

Conditional formatting highlight target percentage

We can use multiple conditional formatting rules to highlight percentage values using different colors. With multiple conditional formatting, we can different rules each with its own threshold. This article provides a clear guide on how to use conditional formatting highlight target percentage.

Figure 1: Conditional formatting to highlight target percentage

General syntax of the formula

=A1>= X

=A1>= Y

=A1< Y

Understanding the formula

The formula above is fundamental when we want to highlight percentages values of different cells using different colors. We need to apply conditional formatting for us to get the various colors we want.

How the formula works

In figure 1 above, we have formatted the cells with the following colors;

=B5>=90% –Green

=B5>=80% -Yellow

=B580% -Pink

  • The first formula is first evaluated against each cell in the specified range B5:B12. Here, the formula will return TRUE for all those cells whose values are greater or equal to 90%. It will return a FALSE if the condition is not met.
  • The second formula is also evaluated against all the cells in range B5:B12. This formula returns TRUE if the values are greater or equals to 80%, and FALSE if the not. The cells that meet this condition are then filled with yellow.
  • The third formula is then evaluated against the cells in the range B5:B12 to check whether the values are less than 80%. If the condition is met, the formula shall return TRUE and the cells whose values are less than 80% are filled with pink.

Note that for the first two rules, we need to enable the “stop if true” option. This is to prevent further processing given that the rules are mutually exclusive.

Instant Connection to an Expert through our Excelchat Service

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

Did this post not answer your question? Get a solution from connecting with the expert.

Another blog reader asked this question today on Excelchat:
Here are some problems that our users have asked and received explanations on

conditional formatting to highlight matching data
Solved by Z. H. in 15 mins
I need to copy conditional formatting from one cell to another. Basically, I have a cell to color code based on percentage, but I need another cell to highlight the same way based on how the original cells highlight.
Solved by F. F. in 25 mins
Conditional formatting based on previous cells. (to highlight improvement in spelling scores)
Solved by G. C. in 26 mins

Leave a Comment

avatar