Skip to main content

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 300 handy functions, makes your jobs more 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

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is there a way to conditional format a +/- range? Like zero is my middle point and anything +/- 3 would be green; +/-5 would be yellow; anything greater than +/-8 eight would be read? Been googling this and can't find anything.

Thanks!
This comment was minimized by the moderator on the site
Hi, Tracy, the conditional formatting can help you. Just create the rules like:1) =OR(A1=3,A1=-3), set the format is green bakcground, 2) =OR(A1=5,A1=-5), set the format is yellow bakcground, 3) =OR(A1>8,A1>-8),set the format is red. Hope this help you.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations