Conditional format based on adjacent cell value

G

Greg Snidow

Greetings all. I am trying to use conditional formatting for a cell based on
the value of the adjacent cell. So, I want cell T1 to change to red if U1 =
"No". I tried Formula is =IF(U1 = "No"), but I get a formula error. Could
this be done with a Macro instead? Thank you.

Greg
 
J

Jim Thomlinson

Conditional formatting requires your formula to return a simple true or
false. To that end just get rid of the if and you are good...

=U1 = "No"
or
=upper(u1) = "NO"

makes it non case sensitive...
 
G

Greg Snidow

Thanks Jim, that worked like a charm.

Jim Thomlinson said:
Conditional formatting requires your formula to return a simple true or
false. To that end just get rid of the if and you are good...

=U1 = "No"
or
=upper(u1) = "NO"

makes it non case sensitive...
 

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

Top