+ Reply to Thread
Results 1 to 4 of 4

Creating A Gantt Chart In Excel

  1. #1
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664

    Creating A Gantt Chart In Excel

    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 1st, etc. A2 is the start date of the project and B2 is the end date. Conditional formatting changes the cell with "1" into 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
    Last edited by SamuelT; 05-23-2006 at 09:02 AM.

  2. #2
    CLR
    Guest

    RE: Creating A Gantt Chart In Excel

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

    Vaya con Dios,
    Chuck, CABGx3



    "SamuelT" wrote:

    >
    > 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
    >
    >
    > --
    > SamuelT
    > ------------------------------------------------------------------------
    > SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501
    > View this thread: http://www.excelforum.com/showthread...hreadid=544666
    >
    >


  3. #3
    Valued Forum Contributor
    Join Date
    09-23-2005
    Location
    Bristol, UK
    MS-Off Ver
    2007
    Posts
    664
    Vaya,

    There was one little thing missing:

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

    Many Thanks,

    SamuelT

  4. #4
    CLR
    Guest

    Re: Creating A Gantt Chart In Excel

    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



    "SamuelT" wrote:

    >
    > Vaya,
    >
    > There was one little thing missing:
    >
    > =IF(AND(MONTH(C$1)>=MONTH($A$2),C$1<$B$2),"1","")
    >
    > Many Thanks,
    >
    > SamuelT
    >
    >
    > --
    > SamuelT
    > ------------------------------------------------------------------------
    > SamuelT's Profile: http://www.excelforum.com/member.php...o&userid=27501
    > View this thread: http://www.excelforum.com/showthread...hreadid=544666
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1