Despite Excel not offering a built-in Gantt chart feature, you can create one by customizing a stacked bar chart. This approach allows you to display your project’s schedule, showing the start and end dates of tasks, their durations, and the dependencies between them.
This guide will walk you through the process of building a Gantt chart in Excel by setting up your project data and modifying a stacked bar chart to visually represent your project timeline.
Create Your Project Data Table
Ensure that your tasks are ordered by their start dates to accurately reflect the project timeline in your Gantt chart.
Here is an example of how your data should look for a software project:

Join readers who trust AllThings.How
Add us as a preferred source on Google so our practical guides show up first next time you search.
Add to Google Preferences →Create a Stacked Bar Chart
If you select all your data and insert a bar chart, the result may not accurately represent your project schedule and could look messy:

Insert the Start Date Data as a Stacked Bar Chart
Insert tab on the Excel ribbon. In the Charts group, click on the Bar Chart icon, and under the 2-D Bar section, choose the ‘Stacked Bar’ chart type.
This action will insert a bar chart based on your Start Date data. Initially, the dates on the horizontal axis may appear crowded or overlapping, but this will be resolved as you add more data to the chart.

Add the Duration Data to the Chart
Select Data from the context menu.
Add button to add a new data series for Duration.
OK to confirm.
OK to apply the changes to your chart.
Your chart will update to include the duration data, resulting in a stacked bar chart that begins to resemble a Gantt chart.

Label the Tasks on the Vertical Axis
Select Data again.Edit button.
OK to confirm.
OK again in the ‘Select Data Source’ window to apply the changes. Your chart will now display the task names on the vertical axis, providing clarity to your project’s structure.
Convert the Stacked Bar Chart into a Gantt Chart
Format Data Series from the context menu.
No fill for the Fill option and No line for the Border option. This will make the ‘Start Date’ series invisible on the chart.
After applying these changes, the blue bars will disappear, leaving only the orange ‘Duration’ bars. However, you’ll notice that the tasks are now listed in reverse order on the vertical axis.

Format Axis.
Categories in reverse order. This will reorder the tasks correctly and move the horizontal axis to the bottom of the chart.
Your chart now displays the tasks in the proper order, enhancing the readability of your Gantt chart.

Adjust the Chart’s Time Scale and Appearance
Format Cells, and in the ‘Number’ tab, choose General. Note down the serial number shown in the ‘Sample’ field (e.g., 42865). Click Cancel to exit without changing the cell format.


Format Data Series.
Your Gantt chart is now complete, providing a clear visual representation of your project’s schedule and task durations in Excel.

By customizing a stacked bar chart in Excel, you can effectively create a Gantt chart to manage and visualize your project timelines without the need for specialized software.






