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 […]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
This article demonstrates macros that automatically changes the chart bar colors based on the corresponding cell, the first example is […]
This article describes how to create an interactive chart, the user may press with left mouse button on a button […]
The calendar shown in the image above highlights events based on frequency. It is made only with a few conditional […]
Fatou asks: Going back to my question, I had created a table and used the data to create a chart. […]
You can easily change data labels in a chart. Select a single data label and enter a reference to a […]
The image above shows a chart populated with data from an Excel defined Table. The worksheet contains event code that […]
The picture above shows a chart that has custom data labels, they are linked to specific cell values. This means […]
I will in this article demonstrate how to set up two drop down lists linked to an Excel chart, the […]
This article describes how to create a map in Excel, the map is an x y scatter chart with an […]
This article demonstrates how to insert pictures to a chart axis, the picture above shows a column chart with country […]
I made a heat map calendar a few months ago and it inspired me to write this article. The heat […]
This article demonstrates a macro that changes y-axis range programmatically, this can be useful if you are working with stock […]
This article demonstrates how to highlight a bar in a chart, it allows you to quickly bring attention to a […]
This article describes a macro that hides specific columns automatically based on values in two given cells. I am also […]
This article demonstrates how to use drop down lists combined with an Excel defined Table and a chart. This allows […]
This article demonstrates how to highlight a line in a chart based on the selected item in a drop-down list. […]
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?