Cell colors on conditional format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to format several cells so that the background and text changes
color when the numbers 0,1,2,3 or 4 are entered but if any number higher
nothing is to be changed. My problem is when I use the CELL VALUE IS BETWEEN
function the cells change when blank but I don't what the changes when blank.
Is there a better function to use.
 
You could use "Formula is" and then in the formula box put (without the
quotes) "=and(isnumber(C12),C12<5,C12>-1)". Where C12 is the cell you want
colored.
Will
 
Use "formula is" in conditional formatting

say its cell u10 you wish to apply format, in this cell apply the
conditional formatting and type

=IF(AND(U10<5,U10<>""),TRUE,FALSE)

Then apply your format.
 
Formula Is: =AND(ISNUMBER(A1),A1<=4)

That'll work as long as the numbers are always positive. If you need to
account for any negative values:

=AND(ISNUMBER(A1),A1>=0,A1<=4)

Biff
 
works, Thanks

T. Valko said:
That'll work as long as the numbers are always positive. If you need to
account for any negative values:

=AND(ISNUMBER(A1),A1>=0,A1<=4)

Biff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top