A further thought ..
if Cond1 is to be evaluated simultaneous with Cond2, ie you want cells
containing "Project" to be highlighted in black, but only if these
cells also satisfy the earlier "dates within" criteria, then just
change the previous:
> A further thought ..
>
[quoted text clipped - 16 lines]
> xdemechanik
> ---
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Hi Max,
Thanks so much for you help.
I have added the above as instructed however this does not work.
Cond1: =AND(B2="Project",$A2>=B$1,$A2<B$1+7)
> Format: Black Fill / White Font
I have changed this to:
Cond1: =AND(B2:B1000="Project",$A2>=B$1,$A2<B$1+7)
> Format: Black Fill / White Font
as the word Project could be anywhere in the Column.
Sorry could be something I am mising, I have tried a number of
different things but can't seem to crack it.
Thanks again
Max - 08 Mar 2007 12:45 GMT
> I have changed this to:
> Cond1: =AND(B2:B1000="Project",$A2>=B$1,$A2<B$1+7)
Ahh, don't change it, it works as given earlier <g>
Here's the full steps to re-try it, assuming your range to be
conditionally formatted is B2:E1000
Select B2:E1000 (B2 active), then apply the CF settings:
Cond1: =AND(B2="Project",$A2>=B$1,$A2<B$1+7)
Format: Black Fill / White Font
Cond2: =AND($A2>=B$1,$A2<B$1+7)
Format: Gray Fill
Let me know here how it goes for you
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi Max,
>
[quoted text clipped - 13 lines]
> Sorry could be something I am mising, I have tried a number of
> different things but can't seem to crack it.
Angela1979 - 08 Mar 2007 13:55 GMT
Hi Max,
Sorry to be back again.
It won't work, I think it may be something I am doing wrong but I
can't for the life of me work this out.
Here is full details
A B C D
E F G H
I J K
Scheduled catDef 19/03/07 26/03/07 02/04/07 09/04/07 16/04/07 23/04/07
30/04/07 07/05/07 14/05/07
01 Mar 07Project
07 Mar 07 Project
08 Mar 07 Project
15 Mar 07 Project
16 Mar 07 Project
16 Mar 07 Project
16 Mar 07 Project
16 Mar 07 Project
26 Mar 07 Project
29 Mar 07 Project
01 Apr 07 Project
05 Apr 07 BAU
30 Apr 07 BAU
09 Jul 07 BAU
I have added the following conditions
Condition 1
=and(b2="Project",$a2>=c$1,$a2<d$1) Format Black
Condition 2
=and($a2>c$1,$a2<d$1)
Sorry for being a pain
.................................
Angela1979 - 08 Mar 2007 13:59 GMT
I tried to tell you what column was what but the post hasn't posted
correctly
For your information
Row 1 contains titles and dates
Column A contains scheduledreleasedate
Column B contains catDef
Max - 08 Mar 2007 21:16 GMT
Angela,
Nothing will happen in col B as there's no date in the header cell B1. If
you want the word "Project" to be highlighted by CF in col B as it is right
now, simply add a 3rd condition: =B2="Project" with similar trigger
formatting as Cond1. So your CF conditons set up would be:
Cond1: =AND(B2="Project",$A2>=B$1,$A2<B$1+7)
Format: Black Fill / White Font
Cond2: =AND($A2>=B$1,$A2<B$1+7)
Format: Gray Fill
Cond3: =B2="Project"
Format: Black Fill / White Font

Signature
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
>
> I tried to tell you what column was what but the post hasn't posted
[quoted text clipped - 5 lines]
> Column A contains scheduledreleasedate
> Column B contains catDef