PC Review


Reply
Thread Tools Rate Thread

Conditional format based on adjacent cell value

 
 
Greg Snidow
Guest
Posts: n/a
 
      18th Sep 2008
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
 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      18th Sep 2008
for cell g1 formula is
=h1="no"

--
Don Guillett
Microsoft MVP Excel
SalesAid Software
(E-Mail Removed)
"Greg Snidow" <(E-Mail Removed)> wrote in message
news:08A60922-2BE1-48EF-984E-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Jim Thomlinson
Guest
Posts: n/a
 
      18th Sep 2008
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...
--
HTH...

Jim Thomlinson


"Greg Snidow" wrote:

> 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

 
Reply With Quote
 
Greg Snidow
Guest
Posts: n/a
 
      19th Sep 2008
Thanks Jim, that worked like a charm.

"Jim Thomlinson" wrote:

> 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...
> --
> HTH...
>
> Jim Thomlinson
>
>
> "Greg Snidow" wrote:
>
> > 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting based on adjacent cell? Custard Tart Microsoft Excel Worksheet Functions 1 6th Nov 2009 01:53 PM
Conditional Formatting Based on Value of Adjacent Cell f252863@hotmail.com Microsoft Excel Misc 3 20th Dec 2007 03:40 PM
Conditional Formatting based on adjacent cell value Bill Meacham Microsoft Excel Misc 3 11th Dec 2007 08:38 PM
Conditional formatting of adjacent cells based on text in cell elderain@gmail.com Microsoft Excel Programming 1 8th Aug 2006 12:20 AM
How to do a conditional formatting based on an adjacent cell =?Utf-8?B?Q29uZnVzZWQ=?= Microsoft Excel Misc 2 10th Jan 2005 09:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:34 AM.