In Excel: list tasks with a start day and a duration, then build a stacked bar chart and hide the “start” series — or use the live generator above.
On this page7
List each task with a start day (or date) and a duration in days.
Insert a Stacked Bar chart from the start and duration columns.
Select the “start” series and set its fill to No Fill so only the duration bars show.
Reverse the category axis so the first task sits at the top.
What this does
A Gantt chart turns a task list into horizontal bars on a timeline, so you can see at a glance what runs when and what overlaps. The classic spreadsheet trick is a stacked bar chart: one invisible series offsets each bar to its start day, and a second visible series draws the duration. Each task needs just a name, a start and a length. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel formula gantt chart”. Start on a copy or a tiny sample, keep the affected chart visible, and compare the result with the outcome you expected before you touch the real workbook. When this is a ribbon command, the selection matters more than the button: confirm the range, apply the command, then spot-check the output before saving. The point is a visual that makes the number obvious at a glance, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Four tasks — Research (start 0, 4 days), Design (3, 5), Build (7, 8), Launch (14, 2) — lay out on a 16-day timeline. Research and Design overlap by one day; Build starts as Design finishes. The generator above scales every bar to the longest timeline automatically, so adding a task or stretching a duration redraws the whole chart instantly. A Gantt chart is how a plan becomes a picture everyone can read — stakeholders see the schedule, the team sees the overlaps, and you see the critical path. Building it from a simple table keeps it editable as the plan changes. A practical tip: try it on a copy of the sheet or a handful of sample rows first and check the result before you apply it to the real data. That one habit catches almost every surprise while it is still cheap to reverse.
In Google Sheets
This is a command rather than a formula, so there is no syntax to carry over. Google Sheets arranges its commands in menus across the top instead of a ribbon, names some of them differently and does not have every Excel command — look for the equivalent in the Sheets menus or its help before assuming the steps match. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. The short version of “excel formula gantt chart”: the answer is at the top of this page, and the sections above explain why each step matters, so a variation of the problem does not stump you. Try it once on a copy of a real file and the steps stick far better than re-reading them.
Common mistakes
- Plotting end dates instead of durations, which a stacked bar cannot offset correctly.
- Forgetting to hide the offset series, so every bar starts at day zero.
- Leaving the task order reversed (Excel plots bottom-up by default).
- Hard-coding bar positions instead of driving them from start/duration cells you can edit.
Frequently asked questions
Do I need project software for a Gantt?
No — a stacked bar chart, or the generator on this page, produces a clean Gantt from a simple task/start/duration table.
How do I show dependencies?
Set each task’s start to the previous task’s end (=prev_start+prev_duration). The bars then cascade, and changing one shifts the rest.
Can I use real dates?
Yes — use date cells for the start and a duration in days; the same stacked-bar method works with the date axis.
Other ways people ask this
This is also commonly searched as “excel gantt chart”, “gantt charts in excel”, “gantt chart with excel” and “excel free gantt chart”. They describe the identical operation, so you are in the right place no matter how you phrased it.
Why do people search for this in so many different ways?
Because the same task has many names. “excel gantt chart”, “gantt charts in excel”, “gantt chart with excel” all point at the one operation explained on this page, which is why they all lead here.