You can create a Gantt chart in Excel without any add-ins by using a stacked bar chart and a simple formula to offset each task's start date. The trick is to build a small table with Task, Start Date, and Duration columns, then plot a stacked bar chart where the first series (Start Date) is made invisible and the second series (Duration) forms the visible bars. This produces a clean, editable timeline that updates automatically when you change dates. The steps below work in Excel for Microsoft 365, Excel 2021, and Excel 2019 on Windows and Mac; menu labels can differ slightly by version and region.

What You'll Need

  • Excel for Microsoft 365, Excel 2021, or Excel 2019 (desktop version; the web version has limited chart formatting).
  • A list of tasks with start dates and durations (in days).
  • Basic familiarity with selecting cells and inserting charts.

Step-by-Step

  1. Set up your data table. In a blank worksheet, enter column headers in row 1: A1 = Task, B1 = Start Date, C1 = Duration (days). Fill in each task on its own row. Enter start dates as real dates (for example, 5/1/2025) and durations as whole numbers of days. Leave no blank rows inside the table.
  2. Add a helper column for the offset. In D1 type Start Offset. In D2 enter the formula =B2-MIN($B$2:$B$10) (adjust the range to match your data). This calculates how many days after the earliest start date each task begins. Copy the formula down. The earliest task will show 0.
  3. Select the data for the chart. Highlight the Task column (A2:A10), then hold Ctrl (Windows) or Command (Mac) and also select the Start Offset column (D2:D10) and the Duration column (C2:C10). Do not include the header row in this selection.
  4. Insert a stacked bar chart. Go to Insert > Chart > Stacked Bar (the horizontal one, not stacked column). A chart appears with two series: Start Offset and Duration.
  5. Hide the offset series. Click the first series (the offset bars) to select it, then right-click and choose Format Data Series. Under Fill, select No Fill. Under Border, select No Line. The offset bars disappear, leaving only the duration bars floating at the correct start positions.
  6. Reverse the task order. By default Excel plots the first task at the bottom. To show tasks top-to-bottom in your original order, right-click the vertical axis (the task names), choose Format Axis, and tick Categories in reverse order. If the task names move to the top of the chart, also set the horizontal axis to cross at maximum category.
  7. Fix the date axis. Right-click the horizontal axis (the numbers), choose Format Axis. Set Minimum to the serial number of your earliest date and Maximum to the serial number of your latest date plus a few days. Set Major Unit to 7 for weekly gridlines or 1 for daily. Excel stores dates as serial numbers, so you can type the date directly in some versions; if not, use a cell reference or convert with the DATE function.
  8. Format the bars. Click the visible duration bars, open Format Data Series, and choose a fill color. Add data labels if you want the duration shown on each bar (right-click the series > Add Data Labels).
  9. Clean up the chart. Delete the legend (click it and press Delete). Add a chart title with the project name. Resize the chart and drag it to a clear area of the sheet.
  10. Test that it updates. Change a start date or duration in your table. The chart should redraw automatically because it is linked to the cells. If it does not, check that the chart's data range still covers all rows.

Common Mistakes

  • Forgetting to hide the offset series. The chart looks like two overlapping bars until you set the first series to No Fill and No Line.
  • Entering dates as text. If Excel left-aligns your dates, they are text, not dates, and the axis will be wrong. Re-enter them in a recognized date format.
  • Using the wrong chart type. A stacked column chart produces vertical bars; a Gantt chart needs a stacked bar chart (horizontal).
  • Including the header row in the chart range. This adds a meaningless series and shifts the labels.
  • Not reversing the category order. Tasks appear bottom-up, which reads backwards for most project plans.

Tips

  • Keep the helper column visible; it makes troubleshooting easier and you can hide the column later without breaking the chart.
  • Use a named range or an Excel Table (Insert > Table) so the chart expands automatically when you add tasks.
  • For milestones, add a task with a duration of 1 day and format that bar as a diamond using a marker or a separate series.
  • To show progress, add a third column for percent complete and a second stacked series, but keep it simple first.
  • Print the chart on its own page by selecting it and setting the print area.

Troubleshooting

  • The bars start in the wrong place: check that the offset formula uses an absolute range for the MIN function and that all start dates are real dates.
  • The axis shows numbers like 45000: the axis is displaying serial numbers. Format the axis as a Date category, or set the minimum and maximum using date values.
  • Task names are missing: re-select the chart data and make sure the Task column is included as the category axis labels.
  • The chart does not update: confirm the chart's data range covers the rows you changed; if you inserted rows, extend the range or convert the data to a Table.
  • Bars are too thin or too thick: right-click a bar, choose Format Data Series, and adjust the Gap Width setting.

Frequently Asked Questions

Can I create a Gantt chart in Excel without add-ins?

Yes. The stacked bar chart method described here uses only built-in Excel features and works in all recent desktop versions.

Does this work in Excel for the web?

You can insert a stacked bar chart in Excel for the web, but some formatting options (such as setting No Fill on a series) may be limited. For full control, use the desktop app.

How do I show weeks instead of days on the axis?

Right-click the horizontal axis, choose Format Axis, and set Major Unit to 7. The gridlines will then fall on weekly intervals.

Can I add dependencies between tasks?

Excel does not draw dependency arrows automatically in a stacked bar chart. You can add arrows manually using Insert > Shapes, but they will not update if dates change.

Why do my bars overlap?

Overlapping bars usually mean the offset series is still visible or the chart is not stacked. Check that the chart type is Stacked Bar and that the first series has No Fill.

Can I make the chart update when I add new tasks?

Yes, if you format your data as an Excel Table before inserting the chart. The chart range expands automatically as rows are added.