MS Excel Conditional Formatting - Ignore "-"

I'm using conditional formatting in Excel 2010 to identify values in a table greater than a certain value.  Unfortunately, the table has a dash ('-') in each cell where there is no value and for some reason this meets the criteria so the cell is shaded along with the cells that have the relevant value. Can anyone suggest a way around this?
If it involves using multi-criteria, can you tell me how to set up this as cant see how to do so in Excel 2010 (used to be able to do this in Excel 2003).
Thanks
gh_userAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Rory ArchibaldConnect With a Mentor Commented:
You need to use the 'use a formula to determine which cells to format' option, and then use a formula like:
=AND(ISNUMBER(A1),A1>50)
where A1 is the active cell, and 50 is whatever your threshold number is.

HTH
Rory
0
 
reitzenCommented:
Can you use ">=" and use the value .0000001 or whatever the minimum value might be?

This would eliminate the zero, as represented by the "-" in the number format.
0
 
gh_userAuthor Commented:
Thanks Rorya.  How should formula be written so it works for multiple cells...ie I have cells within 4 columns and 300 rows that I want to highlight if their value is greater than 50.
0
 
Rory ArchibaldCommented:
Select all the cells and use that formula but replace A1 with whatever is the active cell. Note the A1 is relative - i.e. no $ signs anywhere.
0
All Courses

From novice to tech pro — start learning today.