Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 13
Default Conditional Formatting Formula

Hi and thanks in advance,

Trying to formulate a conditional formatting formula.

I want to colour cell A1 when the following is true: Whenever there is text in B1 then C1 must equal "Completed" and whenever there is text in D1 then E1 must equal "Completed" and whenever there is text in F1 then G1 must equal "Completed".

So say if cells B1, D1 and F1 all contain text then their corresponding cells C1, E1, G1 must contain "Completed"

or say if just D1 alone contains text then the corresponding cell E1 must contain "Completed".
  #2   Report Post  
Senior Member
 
Posts: 663
Default

Quote:
Originally Posted by deutz View Post
Hi and thanks in advance,

Trying to formulate a conditional formatting formula.

I want to colour cell A1 when the following is true: Whenever there is text in B1 then C1 must equal "Completed" and whenever there is text in D1 then E1 must equal "Completed" and whenever there is text in F1 then G1 must equal "Completed".

So say if cells B1, D1 and F1 all contain text then their corresponding cells C1, E1, G1 must contain "Completed"

or say if just D1 alone contains text then the corresponding cell E1 must contain "Completed".
You seem to have two conditions here :

1) Where B, D & F contain text and their corresponding cells contain "Completed", so ALL 6 cells must be populated to trigger the conditional formatting.

2) Where just one set of the two cells needs need to be populated to trigger the conditional formatting.

Could you explain a little more of what you require?
It's easy enough to show you how, but depends on which of the above you really mean.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,514
Default Conditional Formatting Formula

Try the following formula for CF in A1...

=OR(AND(LEN(B1),C1="Completed"),AND(LEN(D1),E1="Co mpleted"),AND(LEN(F1),G1="Completed"))

...where if any of the 3 cell pairss meet the criteria A1 will shade.

--
Garry

Free usenet access at http://www.eternal-september.org
ClassicVB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 151
Default Conditional Formatting Formula

Hi

Try this:

=IF(B1<"",AND(C1="Completed"))

rinse and repeat for all your other cells.

HTH
Mick.
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
Conditional formatting Formula using AND Anton Excel Worksheet Functions 4 October 6th 08 07:23 AM
conditional formatting formula Gary Keramidas Excel Programming 5 January 19th 07 04:10 PM
Conditional Formatting formula tankerman Excel Discussion (Misc queries) 2 December 22nd 06 05:34 PM
Conditional Formatting: Formula is Sue Excel Worksheet Functions 2 March 30th 06 09:21 AM
conditional formatting with FORMULA... Please HELP! Chris M Excel Discussion (Misc queries) 1 August 20th 05 12:28 AM


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

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

About Us

"It's about Microsoft Excel"