How to make a Gantt chart in Excel 2010, 2013 and Excel 2016
Microsoft Excel does not have a built-in Gantt chart template as an option. However, you can quickly create a Gantt chart in Excel by using the bar graph functionality and a bit of formatting.
Please follow the below steps closely and you will make a simple Gantt chart in under 3 minutes. We will be using Excel 2010 for this Gantt chart example, but you can simulate Gantt diagrams in Excel 2016 and Excel 2013 exactly in the same way.
1. Create a project table
You start by entering your project’s data in an Excel spreadsheet. List each task is a separate row and structure your project plan by including the Start date, End date and Duration, i.e. the number of days required to complete the tasks.
* Tip. Only the Start date and Duration columns are really necessary for creating an Excel Gantt chart. However, if you enter the End Dates too, you can use a simple formula to calculate Duration, as you can see in the screenshot below.
2. Make a standard Excel Bar chart based on Start date
You begin making your Gantt chart in Excel by setting up a usual Stacked Bar chart.
* Select a range of your Start Dates with the column header, it’s B1:B11 in our case. Be sure to select only the cells with data, and not the entire column.
* Switch to the Insert tab > Charts group and click Bar.
* Under the 2-D Bar section, click Stacked Bar.
As a result, you will have the following Stacked bar added to your worksheet:
* Note. Some other Gantt Chart tutorials you can find on the web recommend creating an empty bar chart first and then populating it with data as explained in the next step. But I think the above approach is better because Microsoft Excel will add one data series to the chart automatically, and in this way save you some time.
Step 3. Add Duration data to the chart
Now you need to add one more series to your Excel Gantt chart-to-be.
1.Right-click anywhere within the chart area and choose Select Data from the context menu.
The Select Data Source window will open. As you can see in the screenshot below, Start Date is already added under Legend Entries (Series). And you need to add Duration there as well.
2.Click the Add button to select more data (Duration) you want to plot in the Gantt chart.
3.The Edit Series window opens and you do the following:
* In the Series name field, type “Duration” or any other name of your choosing. Alternatively, you can place the mouse cursor into this field and click the column header in your spreadsheet, the clicked header will be added as the Series name for the Gantt chart.
* Click the range selection icon next to the Series Values field.
4. A small Edit Series window will open. Select your project Duration data by clicking on the first Duration cell (D2 in our case) and dragging the mouse down to the last duration (D11). Make sure you have not mistakenly included the header or any empty cell.
5. Click the Collapse Dialog icon to exit this small window. This will bring you back to the previous Edit Series window with Series name and Series values filled in, where you click OK.
6. Now you are back at the Select Data Source window with both Start Date and Duration added under Legend Entries (Series). Simply click OK for the Duration data to be added to your Excel chart.
The resulting bar chart should look similar to this:
Step 4. Add task descriptions to the Gantt chart
Now you need to replace the days on the left side of the chart with the list of tasks.
1. Right-click anywhere within the chart plot area (the area with blue and orange bars) and click Select Data to bring up the Select Data Source window again.
2. Make sure the Start Date is selected on the left pane and click the Edit button on the right pane, under Horizontal (Category) Axis Labels.
3. A small Axis Label window opens and you select your tasks in the same fashion as you selected Durations in the previous step – click the range selection icon , then click on the first task in your table and drag the mouse down to the last task. Remember, the column header should not be included. When done, exit the window by clicking on the range selection icon again.
4. Click OK twice to close the open windows.
5. Remove the chart labels block by right-clicking it and selecting Delete from the context menu.
At this point your Gantt chart should have task descriptions on the left side and look something like this:
Step 5. Transform the bar graph into the Excel Gantt chart
What you have now is still a stacked bar chart. You have to add the proper formatting to make it look more like a Gantt chart. Our goal is to remove the blue bars so that only the orange parts representing the project’s tasks will be visible. In technical terms, we won’t really delete the blue bars, but rather make them transparent and therefore invisible.
1.Click on any blue bar in your Gantt chart to select them all, right-click and choose Format Data Series from the context menu.
2. The Format Data Series window will show up and you do the following:
* Switch to the Fill tab and select No Fill.
* Go to the Border Color tab and select No Line.
* Note. You do not need to close the dialog because you will use it again in the next step.
3. As you have probably noticed, the tasks on your Excel Gantt chart are listed in reverse order. And now we are going to fix this.
Click on the list of tasks in the left-hand part of your Gantt chart to select them. This will display the Format Axis dialog for you. Select the Categories in reverse order option under Axis Options and then click the Close button to save all the changes.
The results of the changes you have just made are:
* Your tasks are arranged in a proper order on a Gantt chart.
* Date markers are moved from the bottom to the top of the graph.
Your Excel chart is starting to look like a normal Gantt chart, isn’t it? For example, my Gantt diagram looks like this now:*
Step 6. Improve the design of your Excel Gantt chart
Though your Excel Gantt chart is beginning to take shape, you can add a few more finishing touches to make it really stylish.
1.Remove the empty space on the left side of the Gantt chart.
As you remember, originally the starting date blue bars resided at the start of your Excel Gantt diagram. Now you can remove that blank white space to bring your tasks a little closer to the left vertical axis.
* Right-click on the first Start Date in your data table, select Format Cells > General. Write down the number that you see – this is a numeric representation of the date, in my case 41730. As you probably know, Excel stores dates as numbers based on the number of days since 1-Jan-1900. Click Cancel because you don’t actually want to make any changes here.
Click on any date above the task bars in your Gantt chart. One click will select all the dates, you right click them and choose Format Axis from the context menu.
2. Adjust the number of dates on your Gantt chart.
In the same Format Axis window that you used in the previous step, change Major unit and Minor unit to Fixed too, and then add the numbers you want for the date intervals. Typically, the shorter your project’s timeframe is, the smaller numbers you use. For example, if you want to show every other date, enter 2 in the Major unit. You can see my settings in the screenshot below.
Note. In Excel 2013 and Excel 2016, there are no Auto and Fixed radio buttons, so you simply type the number in the box.
Tip. You can play with different settings until you get the result that works best for you. Don’t be afraid to do something wrong because you can always revert to the default settings by switching back to Auto in Excel 2010 and 2007, or click Reset in Excel 2013 and 2016.
3. Remove excess white space between the bars.
Compacting the task bars will make your Gantt graph look even better.
* Click any of the orange bars to get them all selected, right click and select Format Data Series.
* In the Format Data Series dialog, set Separated to 100% and Gap Width to 0% (or close to 0%).
And here is the result of our efforts – a simple but nice-looking Excel Gantt chart:
Remember, though your Excel chart simulates a Gantt diagram very closely, it still keeps the main features of a standard Excel chart:
* Your Excel Gantt chart will resize when you add or remove tasks.
* You can change a Start date or Duration, the chart will reflect the changes and adjust automatically.
* You can save your Excel Gantt chart as an image or convert to HTML and publish online.
* You can design your Excel Gant chart in different ways by changing the fill color, border color, shadow and even applying the 3-D format. All these options are available in the Format Data Series window (right-click the bars in the chart area and select Format Data Series from the context menu).
When you have created an awesome design, it might be a good idea to save your Excel Gantt chart as a template for future use. To do this, click the chart, switch to the Design tab on the ribbon and click Save as Template.