PC Review


Reply
Thread Tools Rate Thread

Conditional Format, Color Scale adjacent cells

 
 
Michael_R
Guest
Posts: n/a
 
      7th Jan 2010
I have a list of companies from which I receive periodic reports.
Each company has a weight of importance
In my list I record the incoming reports saying either "Missing" or "OK"

I want to highlight all "Missing" with a colour scale that reflects the
company's weight.
For that I would create a hidden helper column (let's call it Code) with a
formula like Code = Weight * if(Received = "Missing", 1, 0)

I tried Conditional formatting / Color Scale but found that it applies only
to the values of the cells containing the different values (codes), but can
unfortunately not be extended to adjacent cells. (or I don't know how to do
it ;-)

Question: is there a way to apply the color scale method to the Received
column? (I know I could create individual rules for each code value, but
that's not very elegant!?)

Example

Company Weight Received Code (expected fill in column "Received")
CompA 5 Missing 5 dark red
CompB 2 OK 0 no fill (white)
CompC 2 Missing 2 dark Yellow
CompD 3 Missing 3 light red
DompE 5 OK 0 no fill (white)
CompF 1 Missing 1 light yellow
 
Reply With Quote
 
 
 
 
Minty Fresh
Guest
Posts: n/a
 
      7th Jan 2010
Hi Michael
Actually you can use conditional formatting to color a cell based on a value
in another cell. The real problem here is that you can only have 3 conditions
(in excel 2003, at least). With your color scale you will need 4.

"Michael_R" wrote:

> I have a list of companies from which I receive periodic reports.
> Each company has a weight of importance
> In my list I record the incoming reports saying either "Missing" or "OK"
>
> I want to highlight all "Missing" with a colour scale that reflects the
> company's weight.
> For that I would create a hidden helper column (let's call it Code) with a
> formula like Code = Weight * if(Received = "Missing", 1, 0)
>
> I tried Conditional formatting / Color Scale but found that it applies only
> to the values of the cells containing the different values (codes), but can
> unfortunately not be extended to adjacent cells. (or I don't know how to do
> it ;-)
>
> Question: is there a way to apply the color scale method to the Received
> column? (I know I could create individual rules for each code value, but
> that's not very elegant!?)
>
> Example
>
> Company Weight Received Code (expected fill in column "Received")
> CompA 5 Missing 5 dark red
> CompB 2 OK 0 no fill (white)
> CompC 2 Missing 2 dark Yellow
> CompD 3 Missing 3 light red
> DompE 5 OK 0 no fill (white)
> CompF 1 Missing 1 light yellow

 
Reply With Quote
 
Michael_R
Guest
Posts: n/a
 
      7th Jan 2010
Thanks for your quick response!.

I forgot to say - I work with 2007.
And therefore I wanted to use the ColorScale method where I don't have to
bother with defining individual rules for each value but just only one rule
that fits all.

"Minty Fresh" wrote:

> Hi Michael
> Actually you can use conditional formatting to color a cell based on a value
> in another cell. The real problem here is that you can only have 3 conditions
> (in excel 2003, at least). With your color scale you will need 4.
>
> "Michael_R" wrote:
>
> > I have a list of companies from which I receive periodic reports.
> > Each company has a weight of importance
> > In my list I record the incoming reports saying either "Missing" or "OK"
> >
> > I want to highlight all "Missing" with a colour scale that reflects the
> > company's weight.
> > For that I would create a hidden helper column (let's call it Code) with a
> > formula like Code = Weight * if(Received = "Missing", 1, 0)
> >
> > I tried Conditional formatting / Color Scale but found that it applies only
> > to the values of the cells containing the different values (codes), but can
> > unfortunately not be extended to adjacent cells. (or I don't know how to do
> > it ;-)
> >
> > Question: is there a way to apply the color scale method to the Received
> > column? (I know I could create individual rules for each code value, but
> > that's not very elegant!?)
> >
> > Example
> >
> > Company Weight Received Code (expected fill in column "Received")
> > CompA 5 Missing 5 dark red
> > CompB 2 OK 0 no fill (white)
> > CompC 2 Missing 2 dark Yellow
> > CompD 3 Missing 3 light red
> > DompE 5 OK 0 no fill (white)
> > CompF 1 Missing 1 light yellow

 
Reply With Quote
 
Eyal W
Guest
Posts: n/a
 
      4th Feb 2010

Michael,
Did you ever get a good answer to this?
I'm basically trying to do the same and haven't come up with a way to solve
the issue...
 
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 format on adjacent cells Simon Microsoft Excel Worksheet Functions 4 8th Feb 2010 08:08 PM
Excel 2003 Conditional Format Color Cells Issue in SharePoint 3.0 G_man Microsoft Excel Misc 0 21st May 2009 05:09 PM
Excel 2003 Conditional Format Color Cells Issue in SharePoint 3.0 G_man Microsoft Excel Misc 0 21st May 2009 05:09 PM
Color Cells by macro NOT conditional format =?Utf-8?B?RFRUT0RHRw==?= Microsoft Excel Programming 9 26th Jul 2007 08:26 PM
Recognition of color pattern in cells to use in Conditional format =?Utf-8?B?UXVhbmRhcnkgICAgMTEgLSAzIC0gMDc=?= Microsoft Excel Misc 1 17th May 2007 08:07 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:26 AM.