Conditional Formatting Formula

D

deutz

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 i
text in B1 then C1 must equal "Completed" and whenever there is text i
D1 then E1 must equal "Completed" and whenever there is text in F1 the
G1 must equal "Completed".

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

or say if just D1 alone contains text then the corresponding cell E
must contain "Completed"
 
S

Spencer101

deutz;1606476 said:
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 i
text in B1 then C1 must equal "Completed" and whenever there is text i
D1 then E1 must equal "Completed" and whenever there is text in F1 the
G1 must equal "Completed".

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

or say if just D1 alone contains text then the corresponding cell E
must contain "Completed".

You seem to have two conditions here :

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

2) Where just one set of the two cells needs need to be populated t
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 yo
really mean
 
G

GS

Try the following formula for CF in A1...

=OR(AND(LEN(B1),C1="Completed"),AND(LEN(D1),E1="Completed"),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
 
L

Living the Dream

Hi

Try this:

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

rinse and repeat for all your other cells.

HTH
Mick.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top