Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 130
Default Formula to recognize if another cell's conditional format is true

My apologies, I might not have made it very clear.

A1=1 but never changes except for a conditional format that changes it to
red if another cell meets the criteria. If the other cell doesn't meet the
criteria, it remains a 1 with no fill. I can do a formula to recognize the
cell that caused A1 to turn red but there are other items in the background
that warrant only recognizing A1 has turned red.

In another cell, I need to do an IF statement that causese a formula to run
if A1 is red.

What is the formula to have a cell do something if another cell's
conditional format is true and reacts.

************************************

=IF(A1=0,1)

The same condition applies
--
Gary''s Student


"Shu of AZ" wrote:

If A1=1, and B1 has a conditional format that changes the color to red if A1
equals 1, what is the IF formula to change C1 to a zero if B1 is red.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Formula to recognize if another cell's conditional format is true

We have tried to capture the background color of a cell that is conditionally
formatted, but with no luck. The best I can do is to copy the cells into a
Word table; copy the table back into Excel and test the color with VBA!?!

So until Excel decides to expose the colorcode, just examine the conditional
equations and decide that way.
--
Gary's Student


"Shu of AZ" wrote:

My apologies, I might not have made it very clear.

A1=1 but never changes except for a conditional format that changes it to
red if another cell meets the criteria. If the other cell doesn't meet the
criteria, it remains a 1 with no fill. I can do a formula to recognize the
cell that caused A1 to turn red but there are other items in the background
that warrant only recognizing A1 has turned red.

In another cell, I need to do an IF statement that causese a formula to run
if A1 is red.

What is the formula to have a cell do something if another cell's
conditional format is true and reacts.

************************************

=IF(A1=0,1)

The same condition applies
--
Gary''s Student


"Shu of AZ" wrote:

If A1=1, and B1 has a conditional format that changes the color to red if A1
equals 1, what is the IF formula to change C1 to a zero if B1 is red.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Formula to recognize if another cell's conditional format is true

GS

See Chip Pearson's site for code to detect CF colors.

http://www.cpearson.com/excel/CFColors.htm


Gord Dibben MS Excel MVP


On Mon, 18 Dec 2006 15:27:01 -0800, Gary''s Student
wrote:

We have tried to capture the background color of a cell that is conditionally
formatted, but with no luck. The best I can do is to copy the cells into a
Word table; copy the table back into Excel and test the color with VBA!?!

So until Excel decides to expose the colorcode, just examine the conditional
equations and decide that way.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Format cells with a formula (7 conditions). danindenver Excel Discussion (Misc queries) 3 January 2nd 06 02:40 PM
Conditional Format Not Working KMH Excel Discussion (Misc queries) 0 December 22nd 05 05:32 PM
checking that cells have a value before the workbook will close kcdonaldson Excel Worksheet Functions 8 December 5th 05 04:57 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
How do I copy a conditional format that uses a formula in a serie. TygerJ Setting up and Configuration of Excel 1 March 31st 05 01:07 AM


All times are GMT +1. The time now is 03:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"