Excel has no built-in Gantt chart type, so you build one by formatting a stacked bar chart or by opening a ready-made Gantt template. The stacked-bar method below works in Excel 2016 through Microsoft 365 on Windows and Mac, while templates run in Excel for the web and Copilot can generate a starter table.
Build a Gantt Chart with a Stacked Bar Chart
- Set up four columns in a blank sheet: Task, Start Date, Duration, and Progress (or End Date if you prefer). Enter one row per task and confirm the Start Date cells are formatted as dates, not text.
- Add a helper column named Days Before Start and enter
=B2-MIN($B$2:$B$20)beside the first task, whereB2is the Start Date and the range covers all start dates. - Select the Task, Days Before Start, and Duration columns (hold
Ctrlto grab non-adjacent ranges), then go to Insert > Insert Column or Bar Chart > Stacked Bar. - In the chart, click the first (invisible) series, open Format Data Series, and set Fill to No Fill and Border to No Line. Only the duration bars remain.
- Right-click the category axis (task names) and choose Format Axis, then tick Categories in reverse order and set Label Position to Low. Tasks now read top-to-bottom in sheet order.
- Right-click the date axis, open Format Axis, set Minimum to the serial number of your project start date (or type the date) and set Major Unit to
7for weekly gridlines or1for daily. - Delete the legend, add a chart title, and save. Run your pointer along a bar to confirm its start and length match the data table.
The hidden helper column is what pushes each bar to its correct date; without it every task would begin at the axis origin. To update the schedule later, edit the Start Date or Duration cells and the chart redraws automatically—no manual repositioning needed.
Add a Progress Overlay
To show percent complete, add a second data series and chart it as a clustered bar layered over the durations. The cleanest route is a fifth column (Progress Days = Duration × Percent Complete) plotted on a secondary axis, then change that series to Clustered Bar with a contrasting fill so it sits inside each task bar. This is optional and increases complexity; for a first pass, many teams skip it and note status in a separate column.
Use a Gantt Template Instead
If you want a working chart in minutes, open File > New, type "Gantt" in the search box, and pick a template such as a project planner or simple Gantt tracker. Microsoft's Gantt chart template gallery lists free options that already contain the formulas, conditional formatting, and stacked-bar setup. Templates suit standard projects; the manual method above is better when your data layout is unusual or you need to match an existing workbook.
Templates update through their own input cells, so overwrite the sample rows rather than adding new columns unless you also extend the chart's source range. If the bars stop moving after you edit dates, check Chart Design > Select Data and confirm the series ranges still cover your added rows.
Why Your Gantt Chart Looks Wrong
| Symptom | Likely cause | Fix |
|---|---|---|
| Bars start on the wrong date | Missing or misconfigured helper column | Recheck the MIN formula range includes every start date |
| Tasks appear bottom-to-top | Reverse order not applied | Format Axis > Categories in reverse order |
| Blank gap on the left of every bar | Invisible series still filled | Set first series Fill to No Fill |
Dates show as numbers (e.g. 45000) |
Axis formatted as General | Format Axis > Number > Date |
| New tasks don't appear | Chart source range didn't expand | Select Data and widen each series range |
| Bars overlap or stack oddly | Wrong chart subtype | Confirm Stacked Bar, not Clustered Bar |
The date-axis number problem is the most common complaint: Excel stores dates as serial numbers, and a freshly inserted axis may display them raw. Formatting the axis as a date in short or long form fixes it, and it also makes the Major Unit setting behave predictably.
Practical Setup Choices That Save Rework
Decide your time scale before building. Daily granularity suits short sprints but crowds the axis on long projects; weekly or monthly Major Unit values keep multi-month schedules readable. Setting the axis Minimum to your earliest start date—rather than letting Excel auto-scale—prevents wasted empty space on the left.
Keep task names and dates in one contiguous block so the chart's source range stays clean. If you maintain milestones, add them as zero-duration rows or mark them with a distinct fill after charting. For teams sharing the file, store status in a separate column and use conditional formatting rather than recoloring bars by hand, which breaks as soon as dates change.
Frequently Asked Questions
Does Excel have a native Gantt chart type?
No. Excel offers stacked bar, column, line, and other standard chart types but no dedicated Gantt option. You simulate one with a stacked bar chart and a helper column, or start from a template that already contains that setup.
Can I make a Gantt chart in Excel for the web?
Yes, but with limits. Excel for the web can open and edit template-based Gantt charts and adjust chart data, though some fine-grained formatting options—such as axis label position and series fill controls—are fuller in the desktop app. Build complex charts on desktop, then view or lightly edit them online.
How do I show dependencies between tasks?
Excel's simulated chart doesn't draw dependency arrows automatically. You can add arrows manually via Insert > Shapes after the chart is positioned, or note predecessors in a text column and connect them visually. For automated dependency lines, a dedicated project tool is more practical than a spreadsheet chart.
Why do my bars extend past the project end date?
The duration values likely exceed the task's actual finish, or the axis Maximum is fixed lower than the data extends. Check the Duration column for stray larger numbers and, in Format Axis, clear any manual maximum so Excel scales to the real range.