View Single Post
  #4  
Old March 18th, 2010, 10:24 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default Conditional Formatting with 3 Criteria Options

It shouldn't go red if B1 is blank. Perhaps it is not blank. Perhaps
contains one or more spaces? What does =LEN(B1) show?
--
David Biddulph


"Nickle" wrote in message
...
These two work fine, however my A1 cell turns Red when B1 is blank which I
was hoping to have no formatting for. Is there another equation that is
needed. Thank you for the help.

"Bob Umlas" wrote:

With that cell active, use Home/Conditional Formatting, use new Rule, use
Use a formula to determine which cells to format and enter this formula:
=AND(A1B1,B1"")
then click format/fill/red
then do another New Rule and use
=AND(A1=B1,B1"")
then click format/fill/green.

HTH
Bob Umlas
Excel MVP

"Nickle" wrote in message
...
I would like a Cell's Text to turn green if A1=B1, but turn red if
A1B1,
and no formatting if B1 is blank. What is the best way to go about
this?
I
have excel2007.


.