Using Excel to Create a Gantt Chart

Article by Michele McDonough (78,942 pts ) , published Oct 29, 2009

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

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. For a more in-depth look on how useful this device can be, see Joe Taylor’s article Top Ten Benefits of a Gantt Chart.

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

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

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

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

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

Select Data Source Window

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

Edit Series Box

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

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

Name Range

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

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

Select Values for Series

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

Main Edit Series Window

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

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