+ Reply to Thread
Results 1 to 8 of 8

Gantt chart in excel (Formatting from dates)

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Gantt chart in excel (Formatting from dates)

    I am making a schedule for a General Contractor's office. This will go into a Excel file with many sheets that are linked together.

    I basically want to create the bars of a Gantt chart in Excel (perhaps using conditional formatting?) I would do this by entering a start date and an end date in the same row. This I want to link to cells in the same row which are underneath a calendar of dates (workdays only). I want the dates the user enters to create formatting (a change in the background color) of the cells underneath dates. This would be for the start and end date as well as the dates in between.

    I really want this to be possible. Any help would be much appreciated. I have attached a Jpeg of the what the set-up looks like. Thank you!
    Attached Images Attached Images

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Gantt chart in excel (Formatting from dates)

    As per suggestions on the Forum Rules, post a sample workbook, not a picture of one. Thanks, that would make it simpler for us to demonstrate our suggestions to you directly.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-18-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Gantt chart in excel (Formatting from dates)

    Forum Guru JBeaucaire,

    The file is attached here.

    Thank you in advance!
    Attached Files Attached Files

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Gantt chart in excel (Formatting from dates)

    Conditional formatting does the trick, best to put actual readable dates in the columns to keep this simple.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-18-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Gantt chart in excel (Formatting from dates)

    Thank you! This is great BUT is it possible to do it without Saturday and Sunday? I only want to use workdays because it helps people in the office to see blocks of time visually.

    Thanks again.

  6. #6
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Gantt chart in excel (Formatting from dates)

    What do you mean? Didn't the original file you posted have Saturdays and Sundays?

  7. #7
    Registered User
    Join Date
    08-18-2011
    Location
    New York, NY
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Gantt chart in excel (Formatting from dates)

    No the original file was only workdays. Also, the start day, end day, and number of days a project takes will be linked as shown in this attached file.


    Can conditional formatting still work?
    Attached Files Attached Files

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Gantt chart in excel (Formatting from dates)

    Hmm, I don't understand why you didn't just change the dates in the sample file to skip the weekends. yes, it's the same approach, you were still just missing the dates above in each column to keep this simple. Be sure to open up the conditional formatting settings and reading them so you understand how it's working.

    I'm concerned about skipping the weekends. In both of your example sheets so far you have start/end dates actually falling on the weekend. Be aware.
    Attached Files Attached Files
    Last edited by JBeaucaire; 08-20-2011 at 07:35 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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