We help IT Professionals succeed at work.

MS Excel Conditional Formatting - Ignore "-"

gh_user
gh_user asked
on
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
Comment
Watch Question

Commented:
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.
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011
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

Author

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.
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2011

Commented:
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.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.