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
Create a stacked chart
- Select table
- Go to "Insert" tab
- Click "Bar chart" button and then click "Stacked bar" button.
Setting up the stacked chart
- Right click a blue bar
- Click "Format Data Series..."
- Click "Fill"
- Click "No Fill"
- Click OK!
- Right click on chart
- Click "Select Data"
- Select "Finish Date"
- Click "Remove" button
- Click OK!
Format x-axis
- Right click on x axis dates
- Click "Format axis.."
- Change "Minimum:" and "Major unit:" to fixed
- Change "Minimum" value to 40547.
- Change "Major unit:" value to 7.
- Click "Alignment"
- Change "Text direction:" to Rotate all text 270
- Click Close
Setting up the legend
Question: How do I create a chart that dynamically adds the values, as i type them on the worksheet? Answer: […]
How to use mouse hover on a worksheet [VBA]
I recently discovered an interesting technique about using a user defined function in a HYPERLINK function. Jordan at the Option […]
Change chart data range using a Drop Down List [VBA]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
Color chart columns based on cell color
This article demonstrates macros that automatically changes the chart bar colors based on the corresponding cell, the first example is […]
How to create an interactive Excel chart [VBA]
This article describes how to create an interactive chart, the user may click on a button or multiple buttons and […]
This Gantt chart uses a stacked bar chart to display the tasks and their corresponding date ranges. Completed days are […]
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 downloadable 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?