Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to conditional formatting values not between two numbers in Excel?

For instance, in this case, I want to highlight the values which are not between two numbers in Excel, do you have any ways to quickly solve it? Actually, I have two methods to handle it.

Highlight values not between two numbers with Conditional Formatting

Highlight values not between two numbers with Select Specific Cellsgood idea3


Highlight values not between two numbers with Conditional Formatting


In Excel, the Conditional Formatting utility can do you a favor on this job.

1. Select the range of cells, and click Home > Conditional Formatting > New Rule.
doc conditional formatting not in two values 1

2. Then in the New Formatting Rule dialog, select Use a formula to determine which cells to format in the Select a Rule Type list, and type this formula =OR(A1<20,A1>30) into the Format values where this formula is true textbox, and click Format button to enable the Format Cells dialog, under Fill tab, and select one color you want to use for highlighting. See screenshot:
doc conditional formatting not in two values 2

In the formula, A1 is the first cell of your selected range, 20 and 30 are the number range you want to highlight except.

3. Click OK > OK. Then the cells which are not in the number range have been highlighted.
doc conditional formatting not in two values 3


Highlight values not between two numbers with Select Specific Cells

If you have Kutools for Excel, you can apply the Select Specific Cells utility to select the cells and highlight them which are not between two specific numbers.

Kutools for Excel, with more than 120 handy functions, makes your jobs easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the range and click Kutools > Select > Select Specific Cells. See screenshot:
doc conditional formatting not in two values 4

2. In the Select Specific Cells dialog, check Cell option, and choose Less than in the first drop-down list and type the lower number in the beside textbox, and check Or option, then choose Greater than from second drop-down list, and type the higher number into the next textbox. See screenshot:
doc conditional formatting not in two values 5

3. Click Ok > OK, and the numbers which not are between two numbers have been selected, and you can fill them with colors as you need.

doc conditional formatting not in two values 6
doc conditional formatting not in two values 7

Recommended Productivity Tools for Excel

kte tab 201905

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.