Conditional formating that ignores text

fuadramsey

New Member
Joined
Jun 12, 2006
Messages
9
I want all cells in a column to turn red if they are not within this price range 69.00-250.00 (not to include blank cell or text). I can do this with conditional formating but it changes text I enter in that column red too.

Here is what I have:
condition 1: Cell Value is between 1 and 68.99 (highlight red)
condition 2: Cell Value is greater than 250.00 (highlight red)

This works, but letters (I need to enter codes sometimes) I enter are highlighted red.

Help!?
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Oaktree

MrExcel MVP
Joined
Jun 20, 2002
Messages
8,016
Office Version
  1. 365
Instead of Cell Value Is, use:

Condition2: Formula is =AND(ISNUMBER(A1),A1>250) where A1 is the cell you are formatting.
 

Von Pookie

MrExcel MVP
Joined
Feb 17, 2002
Messages
13,686
Actually, seeing as you're formatting *both* conditions as red, why not make it *one* condition and free up the other 2 spots?

This seems to work for me:
Condition1: Formula is | =ISNUMBER(A1)*OR((A1>=1)*(A1<=68.99),A1>250)
Change A1 to whatever cell you need it to refer to.

This should highlight the cell only if the value is a number between 1-68.99 or over 250.
 

Forum statistics

Threads
1,141,427
Messages
5,706,396
Members
421,447
Latest member
arthuro2021

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top