Creating a Gantt chart

Excel 2016 2013 2010 2007 2003
A Gantt chart is a horizontal bar chart that is often used in project management applications like Microsoft Project.

Although Excel doesn't support Gantt charts per se, creating a simple Gantt chart is fairly easy. The key is getting your data set up properly:

The Gantt Chart in Excel 365

For example, the above Gantt chart is set up to depict a schedule for the project, in range B3:D9.

Data of Gantt Chart Excel 365

The horizontal axis represents the total time span of the project, and each bar represents a project task. The viewer can quickly see the duration of each task and identify overlapping tasks.

Column B contains the task name, column C contains the corresponding start date, and column D contains the duration of the task, in days.

Follow these steps to create the Gantt chart:

   1.   Select the range B3:D9 and then on the Insert tab, in the Charts group, click the Insert Bar or Column Chart button:

Column Charts in Excel 365

From the Insert Bar or Column Chart dropdown list, select Stacked Bar:

Stacked Bar in Excel 365

   2.   Do one of the following:

  • On the Chart Design tab, in the Data group, choose Select Data:
    Select Data in Excel 365
  • Right-click in the chart area and choose Select Data... in the popup menu:
    Select Data in popup menu Excel 365

In the Select Data Source dialog box:

  • Correct data in Horizontal (Category) Axis Labels.
  • In the Legend Entries (Series) group, add a new data series. Then set the chart's series to the following:
    • Series 1: $C$3:$C$9
    • Series 2: $D$3:$D$9
    • Horizontal (Category) Axis Labels: $B$3:$B$9
Select Data Source in Excel 365

   3.   Right-click one of the dates along the category axis and select Format Axis... in the popup menu:

Format Axis popup in Excel 365

On the Format Axis pane, in the Axis Options tab:

  • In the Axis Options section, set the Minimum and Maximum values to correspond to the earliest and latest dates in the data. You also may want to set the Major unit to 7 to indicate weeks:
    Format Axis in Excel 365
  • In the Number section, choose the format you prefer:
    Format Axis in Excel 365

   4.   On the Format Axis pane for the vertical axis: in the Axis Options group, set the option labeled At maximum category and check the option labeled Categories in reverse order:

Format Vertical Axis in Excel 365

   5.   Right-click in the first data series and choose Format Data Series... in the popup menu:

Format data series in popup menu Excel 365

To makes the first data series invisible, on the Format Data Series pane:

  • Set Fill to No fill,
  • Set Border to No line:
No fill and No line in Format Data Series Excel 365

Apply other formatting as desired.

See also this tip in French: Comment créer un diagramme de Gantt.

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information you’ve provided to them or they’ve collected from your use of their services.

Learn more