CF help (2003 SP3)

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

CF help (2003 SP3)

Post by steveh »

Hi all

I would like to format a range of cells, B1:K65536, to be red with a white font if the value is = to or less than 0 but to ignore any blanks, I have tried, with all of the cells highlighted =ISBLANK(B1<=0), =ISNUMBER(B1<=0) and some sites suggest using AND so I tried =AND(B1<=0,B1<>"") but none of them work, any help would be appreciated
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin

User avatar
HansV
Administrator
Posts: 78512
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: CF help (2003 SP3)

Post by HansV »

The formula =AND(B1<=0,B1<>"") is correct. Make sure that B1 is the active cell within the selection when you set conditional formatting. If another cell is the active cell, you should adjust the formula accordingly.
Best wishes,
Hans

steveh
SilverLounger
Posts: 1952
Joined: 26 Jan 2010, 12:46
Location: Nr. Heathrow Airport

Re: CF help (2003 SP3)

Post by steveh »

HansV wrote:The formula =AND(B1<=0,B1<>"") is correct. Make sure that B1 is the active cell within the selection when you set conditional formatting. If another cell is the active cell, you should adjust the formula accordingly.
Thanks Hans

It took me about 4 times of deleting all conditions closing CF and then doing it again and then it worked
Steve
http://www.freightpro-uk.com" onclick="window.open(this.href);return false;
“Tell me and I forget, teach me and I may remember, involve me and I learn.”
― Benjamin Franklin