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

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Instead of Cell Value Is, use:

Condition2: Formula is =AND(ISNUMBER(A1),A1>250) where A1 is the cell you are formatting.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,222,175
Messages
6,164,395
Members
451,889
Latest member
invalidlabel

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
Back
Top