Using Excel to Create a Gantt Chart

Written by:  • Edited by: Michele McDonough
Updated Mar 12, 2011
• Related Guides: Gantt Chart | Excel

Although Excel 2007 doesn't have a built-in Gantt chart wizard like the ones found in other software products, it's still possible to create this useful project management tool within the spreadsheet application.

Excel Gantt Charts

Sample Gantt Chart in Excel
click to enlarge
The Gantt chart is a very helpful and popular tool in the field of project management. A Gantt chart is just one of many project management forms used throughout the project life cycle.

For a more in-depth look on how useful this device can be and for additional resources in other software applications, please see the guide Gantt Chart Examples and Tutorials.

In this tutorial, we'll take a look at how to construct a Gantt chart in Excel 2007. This article is part of a series of Excel project management tutorials that can be found here at Bright Hub.

Create a Table with Project Data

The first thing you want to do in preparation for creating a Gantt chart in Excel is to input the project timeline data into a spreadsheet. For the purpose of this tutorial, I’ve created a sample file entitled Sample Gantt Chart Created in Excel with project data that can be downloaded from the Project Management Media Gallery. Additionally, the screenshot below shows the table created for this example. As with any of the other images in this tutorial, you can click on it to see a larger view.

Table for Gantt Chart Data
click to enlarge

Create a Stacked Bar Chart

We will use the stacked bar chart option in Excel to create our Gantt chart. First, as shown in the image below, hold down the CTRL key and select the columns that contain the Task, Start Date, Days Completed, and Days Remaining Data.

Highlight Data for Chart
click to enlarge

Next, navigate to the Insert screen of Excel and choose the option to insert a stacked bar chart. You’ll end up with an image like that in the following screenshot.

Initial Gantt Chart
click to enlarge

This isn’t at all what we want as a final version, but we now have a representation that contains our basic information that we can modify to reach our desired appearance.

Alternative Directions for Creating the Initial Stacked Bar Chart

If you're having trouble getting your initial stacked bar chart to look like the one above, you may need to approach the construction in a slightly different way. First, select the Task and Start Date columns. From the Insert tab on the Excel Ribbon, choose to insert a 2-D Stacked Bar Chart.

Next, right-click on any blank area in the newly created chart and choose Select Data.

Select Data
click to enlarge

The Select Data Source window will appear as shown in the screenshot below.

Select Data Source Window
click to enlarge

Click on the Add button under Legend Entries (Series). This will cause the Edit Series window to appear.

Edit Series Box
click to enlarge

We want to add a new series for the Days Completed column. To do this, first click on the button next to the Select Range box under Series name.

Select Range
click to enlarge

Next, click on the cell containing the name of the column, Days Completed.

Name Range
click to enlarge

Click on the icon to the right of the box to return to the Edit Series window. Now, click on the button to the right of the box under Series values.

Series Values
click to enlarge

This time, select the range of cells in the column that contain the actual number of days.

Select Values for Series
click to enlarge

Click the icon to the right of the data entry area to go back to the main Edit Series window.

Main Edit Series Window
click to enlarge

In the background, you should now see the bar representing the series for Days Completed on the chart. Click OK to return to the Select Data Source window.

Repeat the process described above to add another series for Days Remaining. When finished, the chart should look like the following image.

Initial Chart
click to enlarge
Next: Continue on to page 2 for instructions on how to modify this initial chart so that it actually has the look and feel of a Gantt chart.

Showing page 1 of 2

Comments

Showing all 20 comments
 
iphoness Sep 20, 2011 5:50 AM
RE: Using Excel to Create a Gantt Chart
Much appreciated for the information and share!
Lynsey Apr 26, 2011 4:26 PM
Gantt chart
This was very helpful and a lifesaver for my proposal that's due tomorrow thank you!
PM Apr 5, 2011 10:30 AM
Asthetically Pleasing Gantt Charts in Excel
Very good article for creating a Gantt chart in Excel. I sometimes prefer the aesthetics of Gantt chart makers that don't use Excel's "chart" function. This one uses conditional formatting I think. I like how it looks better than ones made with the "chart" function.
ITA Mar 25, 2011 4:29 AM
I Love using excel for Gantt Charts
Hi planningforce,

As you mentioned, you SELL a software making Gantt chart ...

Why should people pay something that can be done on Excel (which most of the time they already have).

Moreover, most of the people using MS Project maybe use 5% of available functions (they don't need building complex charts).

I like very much this article and I would support people that want to use Excel. I invite you to check the Gantt Chart I made on Excel :
http://gestionprojetauto.wordpress.com/2010/12/09/download-free-excel-gantt-chart/

BR
Dolgoch Feb 14, 2011 8:28 PM
Not complete
The chart isn't complete. The y-axis stops before it encompasses all the dates displayed in the table.
Suminder Sep 7, 2010 7:50 AM
Excellent Way to make a Gantt Chart
Many Many thanks for sharing this knowledge
Ahmad Sep 7, 2010 1:32 AM
very good !
That was a very good explanation and helped me a lot ! Thank you very much .
can you explain how we can add a red vertical time line on the gantt chart, showing current time?
Fred Mischler Jun 30, 2010 3:04 PM
This does not appear to be working properly
I followed the directions and created the chart just as the author has shown. However, on closer inspection, it does not appear to work correctly. That is, the "days remaining" bar calculates the total days from today's date (date in the title heading) up to the end of a particular task - correct. But then the chart posts that time as a bar beginning on the first day of the task extending for the full days' remaining.

So, the heading date is July 1, and the task begins on August 1 and runs for 15 days (46 days total), the chart will show the bar starting on August 1 and running for 46 days from then, instead of 15. The bar will extend to September 15 or so. As you change the heading date, the bar will shorten (ie the July 2 heading date will result in a bar extending for 44 days, etc.)

Similarly, for tasks that have run their dates (it is now Sept 30, for example), the Aug 1-15 task will be shown as completed, but the bar continues to extend out to the present date, rather than scrolling to the left as each new heading date is entered.
Patrick Jun 24, 2010 3:39 PM
Gantt Chart
How can I create a Gannt Chart in Excel with several tasks that all begin on the same day, but have a different duration?
Why can I not get the dates on the bottom of the chart to begin on the day I entered into Excel?
My date begins 7/1/2010; my Gannt Chart begins in January, 2000.
Can somebody please help?
I am average with Excel, but I've never heard of a Gannt Chart and the outline listed on this site definitely does not help.
Anonymous Jun 23, 2010 12:35 PM
RE: Using Excel to Create a Gantt Chart
Thanks, after trying three times to download a 64 bit trial of Project Professional from the microsoft website, I found this and my chart was done in half an hour.
tomo Apr 30, 2010 2:15 PM
two segments same y value
what if you want to show two short separated segments for the same Y value (e.g. an employee works two short shifts in the same 24 hr period)
Rufuszz Mar 19, 2010 12:06 AM
RE: Using Excel to Create a Gantt Chart
@planningforce :

LOL, I guess money is the matter

oh well, currently I'm a college student, and I got a task to make a Gantt Chart. Rather than spending money buying something like Ms. Project or anything, I'll spend some time 'playing' w/ Ms. Excel
Mwanga Feb 16, 2010 9:56 AM
Help! Increase minimum value
Help!

I seem unable to increase the minimum (y) axis valus (Date). It keeps changing back to 39600 (June 08) when I want the minimum value to be 39965 (July 2009)??

Thanks,
planningforce Feb 4, 2010 3:32 PM
I still don't understand
Why people want absolutely to create Gantt chart in Softwares like Excel.

You know, I have been working for almost 2 years in a company which develops and sell a planning software.

To be clear, I'm a web designer and I must admit my job converted me into a real online marketer for this sotware.

Let me explain, our software, in a first phase generates your Gantt chart, and in a second phase schedule all your resources and projects automatically.

That's why I'm still wondering why you still want to create your Gantt chart that way.

My answers are the following;
- Maybe you don't know us, that's possible
- Are people afraid to learn new methodologies?
- Are people afraid of new softwares?
- Do they feel more comfortable with old technologies used by everybody?
- Maybe people just don't want to spend money? And if they want, that's for MS-Project.... so strange, everybody's looking for an alternative to that software, we got it lol

Really, I'm not here to sell something, I didn't even mention our product, I'm just wondering why you still want to use old tools.
Rose Jan 22, 2010 3:12 PM
This was a great help!
I'm going to use this and hopefully my team will be impressed with how well it displays our upcoming tasks. Thanks so much!
Bruno Jan 17, 2010 11:29 AM
Very well done!
Thanks a lot: very good job!
Gatuso Nov 29, 2009 2:54 AM
somewhat good
i understand how much gantt chart is important in project management. Thankyou.
Amir Oct 28, 2009 12:48 PM
Great how-to
Thanks! Very helpful, and the price is right. :-)
Michele McDonough Oct 7, 2009 1:45 PM
Resizing Page
Thanks!

A quick way to change the amount of information that will print on one page in Excel 2007 is to go to the View tab and pick Page Break Preview. Here, you can click and drag the page breaks to any location in the spreadsheet.
Kellyl Oct 7, 2009 1:26 PM
Use Gantt as Project Tracker
These instructions are very clear and concise; thank you for them. I do have one question: I am trying to use an Excel Gantt as a tracker for approximately 125 projects. I seem to be limited to the number of projects that will fit on one 8.5x14" sheet of paper. How do I resize the page so that all 125 rows appear on my chart?
 
blog comments powered by Disqus
Email to a friend