PC Review


Reply
Thread Tools Rate Thread

Adding fill to cells only when value is "No" in another cell

 
 
Noel
Guest
Posts: n/a
 
      30th Apr 2010
I would like to apply a conditional format to a selection of cells that will
change the fill to gray when the value in another cell = "No". So, let's say
"No" was input into cell A1, if so then cells B1 through E1 would
automatically fill with gray. If the value in A1 is blank or "Yes" or
anything else, then no formatting would occur in those cells because data
would need to be input in them. Is it possible to do this?
 
Reply With Quote
 
 
 
 
Fred Smith
Guest
Posts: n/a
 
      30th Apr 2010
In B1, create a conditional format of:
=$A$1="No"
and set the fill to gray.

Now copy the format of B1 down to E1 (right-drag the fill handle and choose
Fill Formatting Only).

Regards,
Fred

"Noel" <(E-Mail Removed)> wrote in message
news:8961564D-B259-45B0-AD07-(E-Mail Removed)...
>I would like to apply a conditional format to a selection of cells that
>will
> change the fill to gray when the value in another cell = "No". So, let's
> say
> "No" was input into cell A1, if so then cells B1 through E1 would
> automatically fill with gray. If the value in A1 is blank or "Yes" or
> anything else, then no formatting would occur in those cells because data
> would need to be input in them. Is it possible to do this?


 
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
Combine text from multiple cells into one cell - =(A1&","&A2","&A3 mh Microsoft Excel Worksheet Functions 5 11th Jan 2012 01:19 AM
Adding data only if adjacent to cell labeled "male"/"female" lovesrubbaducky Microsoft Excel Worksheet Functions 1 23rd Nov 2009 05:49 PM
Problem with adding "+1" to one cell while another cell decreased by "1"? Michael Slater Microsoft Excel New Users 12 28th Jul 2007 01:06 AM
set "value if true" to "fill cell with color" =?Utf-8?B?RmVldGE=?= Microsoft Excel Programming 4 23rd Jul 2005 08:16 AM
Re: Adding more colors to the Excel "cell fill" options James Albertson Microsoft Excel Worksheet Functions 0 30th Jul 2003 05:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:22 AM.