Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial


A Gantt chart is an essential project management tool that provides a visual timeline for scheduling and tracking tasks. By mapping out the start and end dates of various activities, it allows managers and team members to clearly understand the project’s scope, dependencies, and overall progress. This visual representation, often using horizontal bars, is instrumental in preventing scheduling conflicts and ensuring timely completion of milestones.

While specialized software exists for complex project scheduling, Microsoft Excel offers powerful functionality to create detailed and customized Gantt charts using its standard charting tools. This tutorial is designed to walk you through the precise steps required to leverage Excel’s features, transforming simple duration data into a sophisticated timeline visualization.

The final objective of this comprehensive guide is to produce a refined, professional Gantt chart similar to the visualization displayed below. Achieving this result requires careful manipulation of data formats, selection of the appropriate chart type, and precise formatting adjustments, all of which will be covered sequentially.

Gantt chart in Excel

Preparing Your Project Data for Visualization

The foundation of any successful Gantt chart lies in accurately structured data. Before beginning the visualization process, it is critical to organize your project information into three distinct and necessary data fields: the name or description of the task, the exact start date of the task, and the total duration (in days) required for its completion. These fields must be clearly delineated in separate columns within your Excel spreadsheet.

For the purpose of this example, we recommend labeling these columns intuitively—for instance, Task Name, Start Date, and Duration. Ensuring that every task has a corresponding start date and duration is non-negotiable, as the charting mechanism relies on these numerical values to plot the horizontal bars accurately. Inputting this data correctly is the crucial first step toward building the visual timeline.

The initial data entry phase should look like the structure demonstrated in the image below. Take note of the clean separation between descriptive text (Task Name) and the numerical or date values (Start Date and Duration). We will be referencing this exact arrangement throughout the subsequent steps of the tutorial.

Step 1: Enter the data.

Enter the name, start date, and duration of each task in separate columns:

Mastering Excel Date Serialization

A unique and absolutely necessary requirement for creating Gantt charts in Excel involves understanding how the software handles dates. Excel stores dates internally as sequential serial numbers, counting the number of days elapsed since the reference date of January 1, 1900. We must convert our legible date format into this numerical serialization to allow the charting function to use the date value as a measurable distance on the axis.

To perform this conversion, we introduce a new column, which we can title Numeric Start Date. In this column, you will apply a simple calculation that references the corresponding cell in the Start Date column. Although this conversion might seem redundant, it is fundamental: the native date format cannot be used directly to calculate the horizontal offset required for the bar chart; only the raw numerical value will serve this purpose.

Therefore, utilize the appropriate cell references to generate the serial number for each task’s start date, ensuring that the resulting values accurately reflect the distance from the Excel epoch. This numerical representation is what the forthcoming stacked bar chart will rely upon to determine where each task’s bar should begin on the timeline.

Step 2: Convert the date format to the number of days since Jan. 1, 1900.

By default, dates in Excel are stored as the number of days since Jan 1, 1900. In order to create our gantt chart, we’ll need to convert the dates to numbers using the following formula:

Initial Chart Creation: Inserting the Stacked Bar Chart

With the data correctly prepared, including the crucial numerical conversion of the start dates, we can proceed to the creation of the preliminary chart. The specific chart type required for a Gantt chart visualization in Excel is the Stacked Bar Chart. This choice is deliberate, as the stacked format allows us to plot two distinct series of data on the same row: one invisible series (the Numeric Start Date) and one visible series (the Duration).

To initiate the charting process, carefully select the data range encompassing the task names, the numerical start dates, and the durations. Once this range is highlighted, navigate to the Insert tab on the Excel ribbon. Within the Charts group, locate the bar chart options.

Clicking the bar chart icon will present several options. You must specifically choose the 2-D stacked bar chart. Upon selection, Excel will immediately generate a chart displaying two series of bars: one representing the start date (typically blue) and one representing the duration (typically orange). Although this initial output does not resemble a proper Gantt chart, it provides the necessary groundwork for the subsequent formatting steps.

Step 3: Insert a stacked bar chart.

Next, highlight cells A10:C16. In the Charts group within the Insert tab, click on the option that says 2-D stacked bar chart:

The chart that automatically appears after this insertion will look similar to the figure below. Notice that the tasks are listed on the vertical axis, but they are currently in the reverse order of the input data, and the blue bars are obscuring the actual timeline visualization. These issues will be addressed in the final modification phase.

Refining the Visualization: Formatting the Chart Elements

The conversion from a standard stacked bar chart to a functional and presentable Gantt chart requires several critical formatting adjustments. These modifications focus on two main areas: correcting the task order and hiding the blue start date bars that act as visual offsets.

The initial chart often lists the tasks from bottom to top, which can be counter-intuitive to the flow of a project schedule. To resolve this, you must reverse the order of the categories on the vertical axis. This is achieved by right-clicking any task name on the chart’s vertical axis and selecting Format Axis… In the resulting pane, locate and check the box labeled Categories in reverse order. This simple action will immediately flip the task list to match the sequential order of your source data.

Step 4: Modify the appearance of the chart.

Reverse the order of the tasks.

  • Right click any task on the chart. Then click Format Axis…

  • Check the box next to Categories in reverse order.

The next essential step is making the initial “Start Date” series invisible. Since these blue bars only serve as placeholders to define the starting point of the duration bars, they must be hidden. Right-click on any of the blue bars (representing the start dates) and select Format Data Series… Within the formatting options, specifically navigate to the paint bucket icon (Fill & Line). Under the Fill section, choose the option No fill. This action preserves the data structure while visually removing the unnecessary blue bars, leaving only the duration bars visible, which now appear correctly offset along the timeline.

Remove the blue bars.

  • Right click on any of the blue bars. Then click Format Data Series…

  • Click the paint bucket icon, then Fill, then No fill.

Finalizing Aesthetics and Presentation

The final crucial adjustment involves configuring the horizontal axis, which currently displays generic numerical values rather than readable dates. Since Excel interprets the axis values as serial numbers, we must first set the minimum boundary to correspond precisely with the earliest date in our project schedule. To do this, right-click on any date or number along the x-axis and select Format Axis…

Under the Axis Options, you will find the Minimum boundary setting. This value must correspond to the numerical serial number of your very first task’s start date. For instance, if the earliest date corresponds to the serial number 43830, you must enter this exact value into the Minimum field. This anchors the timeline correctly, eliminating unnecessary white space before the project begins.

Modify the dates on the x-axis.

  • Right click on any of the dates. Then click Format Axis…

  • Under Axis Options, change the Minimum value to 43830 to reflect the earliest date of the first task.

  • Under Number, change the Category to Date. This will ensure that the serial numbers are displayed as conventional dates, completing the transformation of the timeline.

To finalize the presentation of your professional Gantt chart, two final aesthetic steps are recommended. First, give the chart a descriptive and informative title reflective of the project it represents; simply click on the existing chart title text box to edit it. Second, remove the default legend located at the bottom of the chart. Since the chart now only displays a single series (the duration bars), the legend is redundant and detracts from the clean visual presentation. Click directly on the legend and press the Delete key.

Change the title of the chart to anything you’d like. Click on the legend at the bottom and delete it.

The final result should look like this:

Gantt chart in Excel

Cite this article

Mohammed looti (2025). Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial. PSYCHOLOGICAL STATISTICS. Retrieved from https://statistics.arabpsychology.com/create-a-gantt-chart-in-excel/

Mohammed looti. "Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial." PSYCHOLOGICAL STATISTICS, 8 Nov. 2025, https://statistics.arabpsychology.com/create-a-gantt-chart-in-excel/.

Mohammed looti. "Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial." PSYCHOLOGICAL STATISTICS, 2025. https://statistics.arabpsychology.com/create-a-gantt-chart-in-excel/.

Mohammed looti (2025) 'Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial', PSYCHOLOGICAL STATISTICS. Available at: https://statistics.arabpsychology.com/create-a-gantt-chart-in-excel/.

[1] Mohammed looti, "Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial," PSYCHOLOGICAL STATISTICS, vol. X, no. Y, ص Z-Z, November, 2025.

Mohammed looti. Learn to Create a Gantt Chart in Excel: A Step-by-Step Tutorial. PSYCHOLOGICAL STATISTICS. 2025;vol(issue):pages.

Download Post (.PDF)
Scroll to Top