Creating A Gantt Chart In Excel

S

SamuelT

Hi all,

So, I'm creating a gantt chart in Excel and it's going OK. The formula
I'm using is:

=IF(AND(C$1>=$A$2,C$1<$B$2),"1","")

C1 is January 1st, D1 is February the first, etc. A2 is the start date
of the project and B2 is the end date. Conditional formatting changes
the cell with one into a green. This is working fine except where a
project starts mid month the formula does not pick it up.

Can anyone suggest what changes I need to make so that the formula will
put a "1" where a project starts mid-month.

TIA,

SamuelT
 
G

Guest

Maybe.........
=IF(AND(MONTH(C$1)=MONTH($A$2),C$1<$B$2),"1","")

Vaya con Dios,
Chuck, CABGx3
 
S

SamuelT

Vaya,

There was one little thing missing:

=IF(AND(MONTH(C$1)>=MONTH($A$2),C$1<$B$2),"1","")

Many Thanks,

SamuelT
 
G

Guest

You're welcome........glad you figured it out.

Sorry about the type-o, my tongue got in front of my eye-tooth and I
couldn't see what I was saying <g>

Vaya con Dios,
Chuck, CABGx3
 

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