Get instant live expert help with Excel or Google Sheets
“My Excelchat expert helped me in less than 20 minutes, saving me what would have been 5 hours of work!”

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.

How to Highlight Values Between a Range in Excel

We often need to highlight values between a range. It might be needed to put emphasis on a set of values or to represent outliers. We can highlight values between a range in Excel using conditional formatting. It will retrieve specific values from the data based on conditions provided. In this article, we will learn how to highlight values between a range.

Figure 1. Example of How to Highlight Values Between a Range

Generic Formula

=AND (A1>=lower,A1<=upper)

Process

Here, we need to use this formula along with conditional formatting. Excel evaluates this formula for each cell in the range. In the meantime the active cell in the selection is kept relative at the time we create this rule. If we apply this rule to a range, the first cell will be active.The rule is then evaluated for each cell while the first cell is fully relative. The formula uses AND with two conditions. The result will be TRUE when both conditions are met. This will trigger the conditional formatting and highlight the cells.

Setting up Data


The following example uses a temperature data set of twenty days. Column A to D has these temperatures.

Figure 2. The Sample Data Set

To highlight the temperature readings between 22 and 25, we need to

  • Select cells A2 to D6 by clicking on A2 and dragging it till D6.
  • Go to the home tab in the ribbon. Select Conditional Formatting. Click on New Rule.

Figure 3. Example of how to Apply Conditional Formatting

  • Click on Use a formula to determine which cells to format.

Figure 4. Applying the Formula to the Conditional Format

  • Click the Format values where this formula is true box. On the formula box, we have to write the formula =AND (A2>=20,A2<=25).  
  • Next, we have to select the Format tab near the preview box.
  • Then, we have to go to Fill>Background Color and select the color we want to highlight in.  

Figure 5. Managing the Display Options

  • Click OK twice.

Figure 6. The Final Result

This will highlight the temperatures between 22 to 25 in columns A to D.

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:
Solution examples
I need a formula where s36 = 1 if a10=s7 and c10=any value?
Solved by G. J. in 13 mins
Yes hello Im looking for help on conditional formatting I currently have a conditional format for D9>D32 and so on from D9:S20. I need to add an if statement that references cell D4 if the first four characters are 1358 for the rule to apply can you please assist?
Solved by Z. U. in 20 mins
Hello good afternoon, I have a problem with excel. I need a formula to compare data between 3 columns and give me the result in a fourth column
Solved by X. B. in 58 mins
I want to be able to alter the appearance (font color and fill) of a column of numbers using conditional formatting, based on being greater than or less than the numbers from another column. I am using Excel 2016. I am unable to get any formula to work. Please help!
Solved by I. J. in 59 mins
I need assistance with an excel formula. I have a 12 month sheet that has a summary page on the 13 page. the monthly totals changes so on the summary page I want to sum the difference - eg. if Jan total is 1500, feb total is 1000, mar total is 800, I want the summary page to show the current amount of 800 when you place the formula to capture all months---showing the diminishing value rather than the sum of all the pages
Solved by E. L. in 60 mins

Leave a Comment

avatar

Subscribe to Excelchat.co

Get updates on helpful Excel topics

Subscribe to Excelchat.co

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

Another blog reader asked this question today on Excelchat:

Post your problem and you’ll get expert help in seconds.

Your message must be at least 40 characters
Our professional experts are available now. Your privacy is guaranteed.
Trusted by people who work at
Amazon.com, Inc
Facebook, Inc
Accenture PLC
Siemens AG
Macy's
The Allstate Corporation
United Parcel Service
Dell Inc