+ Reply to Thread
Results 1 to 3 of 3

Trying to create a "Gantt Chart" in Excel

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Houston, Texas
    MS-Off Ver
    Excel 2003
    Posts
    1

    Trying to create a "Gantt Chart" in Excel

    Ok, so I'm trying to create a tool in Excel that will effectively produce for me a Gantt Chart.

    So, on the left side, I have date ranges. 1/27/2016-1/29/2016, 3/8/2016-3/17/2016, etc.

    Across the top, I have every date from 1/1/2016-5/1/2016.

    What I want to happen (think of this as a grid with an X and Y axis) is that if the date on the top falls within a range on the left, color the corresponding square.

    Can't get conditional formatting to work.

    Any ideas?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,111

    Re: Trying to create a "Gantt Chart" in Excel

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    Never use Merged Cells in Excel

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trying to create a "Gantt Chart" in Excel

    Here's a gant chart I made for myself. The key dates (start/end) are in columns E and F. I have the colored lines alternating between two colors for greater readability. I also created aa green vertical line that represents Today's date (again to easily see where you are).

    Conditional formatting formulas are as follows
    =AND(ISNUMBER($E2), $E2<=H$1, $F2>=H$1, MOD(ROW(H2),2)=1) light blue
    =AND(ISNUMBER($E2), $E2<=H$1, $F2>=H$1) dark blue but comes after light blue which is checked to stop if true
    =H$1=TODAY() green
    Is this what you are looking for?
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

+ 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] Excel 2010 -- "Visual Basic" "Macros" and "Record Macro" all disabled.
    By NicholasL in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2017, 06:11 AM
  2. Replies: 1
    Last Post: 08-15-2014, 06:00 AM
  3. Gantt chart of recurring "things"
    By JakeDesk in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-28-2013, 02:30 PM
  4. Create a Command Button to "Save As" and "Close" an Excel Workbook
    By thedunna in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-26-2013, 05:38 PM
  5. Replies: 30
    Last Post: 07-04-2012, 07:27 AM
  6. Create chart from list that has associated "type"
    By leosgb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-05-2006, 02:38 AM
  7. [SOLVED] create links to check boxes marked "good" fair"and "bad"
    By pjb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-19-2006, 09:25 PM

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