Dynamic Gantt charts
Today I am going to show you how to create a dynamic Gantt chart in excel 2007. A Gantt chartĀ helps you plan and track various elements of a project. A dynamicĀ chart automatically adds new values to the chart. Let's start!
Create a table
- Select cell range (A1:D7)
- Press with left mouse button on "Insert" tab on the ribbon
- Press with left mouse button on "table" button
- Press with left mouse button on ok!
Create a stacked chart
- Select table
- Go to "Insert" tab
- Press with left mouse button on "Bar chart" button and then press with left mouse button on "Stacked bar" button.
Setting up the stacked chart
- Press with right mouse button on a blue bar
- Press with left mouse button on "Format Data Series..."
- Press with left mouse button on "Fill"
- Press with left mouse button on "No Fill"
- Press with left mouse button on OK!
- Press with right mouse button on on chart
- Press with left mouse button on "Select Data"
- Select "Finish Date"
- Press with left mouse button on "Remove" button
- Press with left mouse button on OK!
Format x-axis
- Press with right mouse button on on x axis dates
- Press with left mouse button on "Format axis.."
- Change "Minimum:" and "Major unit:" to fixed
- Change "Minimum" value to 40547.
- Change "Major unit:" value to 7.
- Press with left mouse button on "Alignment"
- Change "Text direction:" to Rotate all text 270
- Press with left mouse button on Close
Setting up the legend
- Press with left mouse button on text "Start date" in legend
- Delete
- Press with right mouse button on on chart
- Press with left mouse button on "Select Data"
- Press with left mouse button on "Duration"
- Press with left mouse button on Edit
- Change "Series name:" to Sheet4!$A$1 (Activity)
- Press with left mouse button on OK!
Charts category
Question: How do I create a chart that dynamically adds the values, as i type them on the worksheet? Answer: […]
I recently discovered an interesting technique about using a user defined function in a HYPERLINK function. Jordan at the Option […]
This article demonstrates macros that automatically changes the chart bar colors based on the corresponding cell, the first example is […]
Gantt category
This Gantt chart uses a stacked bar chart to display the tasks and their corresponding date ranges. Completed days are […]
Excel categories
11 Responses to “Dynamic Gantt charts”
Leave a Reply
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
hi
i am happy to get the solution. for last two years i am search for the dynamic data chart solution. today is the luckiest day to get the solution. thank u so much
Really so much useful for me and to others as well.
Mohamed Ismail,
Thanks for commenting!
Read this post: Advanced Gantt Chart Template
Excellent instructions, worked well for me.
That was great...
Thank you for your comments!
Thank you for sharing!
This is very useful, especially because the chart dynamic and really flexible in case you need to change your project drastically.
Regards Oscar
Thanks! This is very helpful especially when I do not prefer MS Visio.
Oscar Thank you for the detailed instructions. Here is a template that I found that makes it a bit easy for those who are not well versed in excel. Hope someone finds it useful.
https://www.ganttexcel.com
Thanks, this template is what I wanted
HI Oscar,
Is there a way to add conditional formatting so each task has a unique color?
Also, within the chart, in the shaded portion, can you add text?
Thanks for the help!
Brett
Also, if for example, (1) task has multiple start and end dates, can the shading be done on a single line?