+ Reply to Thread
Results 1 to 3 of 3

Gantt Chart with 4 dates instead of usual 2

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Question Gantt Chart with 4 dates instead of usual 2

    Hi All,

    Need some help building what's essentially a Gantt chart in excel from scratch, but with four dates instead of the traditional two (start/end).

    The goal is to show a timeline for multiple projects, each with 4 milestone dates, color coded, and have the timeline populate cells with color based on if that cell falls on or after a given milestone date until the next cell falls on or after the subsequent milestone date.

    What I'm having trouble with is coming up with a formula that can check the date value a given column has, and output the name of a milestone in a corresponding cell, but then switch the milestone output once the column's date value falls on or after the next milestone.

    I've attached a simple file which better details what I'm looking for.

    If the context helps, I'm just trying to show a timeline for projects and compare budget to forecast.

    Any help would be greatly appreciated as this is time-sensitive. Thanks!!
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Gantt Chart with 4 dates instead of usual 2

    Put this formula in I6 and copy to the rest of the grid. See attached.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Gantt Chart with 4 dates instead of usual 2

    You will need another column of dates to signify the end of Milestone 4 for each project, otherwise Milestone 4 will propagate for ever. Suppose your use column H for this End date, then you can use this formula in I6:

    =IF(AND(I$1>=$D6,I$1<$E6),$D$5,"")&IF(AND(I$1>=$E6,I$1<$F6),$E$5,"")&IF(AND(I$1>=$F6,I$1<$G6),$F$5,"")&IF(AND(I$1>=$G6,I$1<$H6),$G$5,"")

    Copy this across and down as required, and then apply your Conditional Formatting to the whole block.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Gantt chart changing the dates
    By chris1089 in forum Excel General
    Replies: 11
    Last Post: 07-15-2020, 12:37 PM
  2. Gantt chart - Don't erase old dates
    By Pokben in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-17-2020, 02:32 PM
  3. How to hide dates of a gantt chart
    By LukeJB1994 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-28-2018, 06:36 AM
  4. Gantt chart for multiple start and end dates
    By SunRay in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 02-05-2015, 08:54 PM
  5. [SOLVED] Gantt chart in excel (Formatting from dates)
    By Stndsh in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-20-2011, 07:32 PM
  6. Modify Gantt Chart Dates
    By mycon73 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 03-01-2011, 02:20 PM
  7. Gantt chart using relative dates?
    By Poops in forum Excel General
    Replies: 1
    Last Post: 06-09-2007, 02:29 PM

Tags for this Thread

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