PC Review


Reply
Thread Tools Rate Thread

Capturing conditional Interior Color of cell

 
 
glen.e.mettler@lmco.com
Guest
Posts: n/a
 
      19th Feb 2007
Using 2003. I have conditional formatting set on a column of cells
"Current Status". I need to format the color of an adjacent cell
("Trend") based on conditional color of "Current Status" (I cannot use
conditional formatting - reason too long to describe).

The basic interior color for "Current Status" is pastel blue (35).
The "Current Status" conditions will change the interior color to red,
yellow, or green. However, when I cycle thru the rows to capture
"Current Status" color, what I get is the basic interior color (35)
instead of the conditional color - red, yellow, or green.

How can I capture the conditional color?

Glen

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      19th Feb 2007
You have to check the same condition as the conditional formatting formula.
The color imposed by conditional formatting can not be queried directly.

So you have to check the conditions and decide what color the conditionla
formatting would be displaying (or what condition is in effect).


Chip Pearson's page on this:
http://www.cpearson.com/excel/CFColors.htm

--
Regards,
Tom Ogilvy



"(E-Mail Removed)" wrote:

> Using 2003. I have conditional formatting set on a column of cells
> "Current Status". I need to format the color of an adjacent cell
> ("Trend") based on conditional color of "Current Status" (I cannot use
> conditional formatting - reason too long to describe).
>
> The basic interior color for "Current Status" is pastel blue (35).
> The "Current Status" conditions will change the interior color to red,
> yellow, or green. However, when I cycle thru the rows to capture
> "Current Status" color, what I get is the basic interior color (35)
> instead of the conditional color - red, yellow, or green.
>
> How can I capture the conditional color?
>
> Glen
>
>

 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      19th Feb 2007
See http://xldynamic.com/source/xld.CFConditions.html, this also overcomes
the problem that Chip mentions regarding "Formula Is"

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Tom Ogilvy" <(E-Mail Removed)> wrote in message
news:7315A54A-EB1C-4168-8B17-(E-Mail Removed)...
> You have to check the same condition as the conditional formatting
> formula.
> The color imposed by conditional formatting can not be queried directly.
>
> So you have to check the conditions and decide what color the conditionla
> formatting would be displaying (or what condition is in effect).
>
>
> Chip Pearson's page on this:
> http://www.cpearson.com/excel/CFColors.htm
>
> --
> Regards,
> Tom Ogilvy
>
>
>
> "(E-Mail Removed)" wrote:
>
>> Using 2003. I have conditional formatting set on a column of cells
>> "Current Status". I need to format the color of an adjacent cell
>> ("Trend") based on conditional color of "Current Status" (I cannot use
>> conditional formatting - reason too long to describe).
>>
>> The basic interior color for "Current Status" is pastel blue (35).
>> The "Current Status" conditions will change the interior color to red,
>> yellow, or green. However, when I cycle thru the rows to capture
>> "Current Status" color, what I get is the basic interior color (35)
>> instead of the conditional color - red, yellow, or green.
>>
>> How can I capture the conditional color?
>>
>> Glen
>>
>>



 
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
How to make font color oppose to cell interior color narke Microsoft Excel Discussion 4 31st May 2010 03:11 AM
Cell background color (interior color) setting not working Martin E. Microsoft Excel Programming 1 21st May 2006 07:00 PM
Conditional Format Macro fails to set interior color - HELP!!! bttman Microsoft Excel Programming 0 1st Apr 2006 02:22 AM
Help!! Instead of Conditional Formatting, pull interior color from lookup bhumvee Microsoft Excel Programming 0 1st Jun 2004 05:21 PM
Conditional formatting & interior color Paul S Panoff Microsoft Excel Programming 2 22nd Apr 2004 09:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:06 PM.