How to Build a Gantt Chart in Excel or Google Sheets: Template Columns and Formulas
Published:
Last Updated:
Category:
Published:
Last Updated:
Category:

Authors: Shusaku Yosa
You want a Gantt chart, but not badly enough to buy a dedicated tool — and you would rather start with the Excel or Google Sheets you already have. This article covers the column layout you can reuse as-is, the steps to build it, the conditional formatting formulas that draw the bars automatically, how to choose between Excel and Sheets, and the update rules that keep the chart from going stale.
A Gantt chart is a schedule table that puts tasks on the vertical axis and time on the horizontal axis, drawing each task's span from start date to end date as a horizontal bar. Henry Gantt, an American management consultant, devised the format in the 1910s, and more than a century later it is still the standard format for project management.
The biggest difference from a plain task list is that overlap becomes visible.
Information you would otherwise have to reconstruct by scanning dates in a list becomes readable from the relative position of the bars alone. As a document for stakeholders, it also cuts down significantly on verbal explanation.
The document most often confused with a Gantt chart is the WBS (Work Breakdown Structure). Their roles are clearly separated.
The order is WBS first, Gantt chart second. Skip the WBS and start drawing bars, and you end up with only the tasks that happened to come to mind; the ones you missed force their way in later and push the whole schedule out. List the work first, then add the dates. Following that order alone changes the accuracy of the plan considerably. For more detail, see how to build a WBS.
The columns you need depend on what the chart is for. Deciding which of the three below applies before you start saves you from bolting on columns later.
The rest of this article assumes the standard type, which is the most broadly applicable.
The standard type uses eleven columns, A through K, with column L onward given over to the date header. Reuse this layout as-is.
The predecessor column is the one most often dropped, but without it you cannot trace the blast radius when something slips. On any project where three or more tasks chain together, it is not optional.
Draw the bars with conditional formatting rather than shapes or hand-filled cells. Because the bars then follow the dates, updating costs almost nothing. Here is how to set it up.
Starting immediately to the right of the row headers (column L in the standard type), lay dates across row 1. Put the project start date in the first cell, enter a formula equal to the previous cell plus one in the next cell, and copy it rightwards. Set up this way, changing the first cell slides the entire calendar. Setting the number format to a custom "d" shows only the day number, letting you narrow the columns to two or three points.
Select the range where the bars go (L2 and below) and add a rule of the "use a formula to determine which cells to format" type with the formula below. It assumes column E is the start date, column F the end date, and column L onward the date header.
=AND(L$1>=$E2, L$1<=$F2)
Specify a fill colour and the cells between the start and end dates turn into a coloured bar automatically. The critical part is how the absolute references are placed: the dollar sign before the row number (1) locks the date row, and the dollar signs before the column letters (E and F) lock the date columns. Get either wrong and the whole grid shifts.
Add further rules the same way. Progress lives in column H.
Conditional formatting rules higher in the list take precedence. Order them today, overdue, complete, normal bar, weekend, and nothing you need to see gets hidden.
Everything above — the column layout, NETWORKDAYS, the conditional formatting — works identically in both. The deciding factor is not features but how the chart will be shared.
The rule of thumb is simple: if two or more people will update it, use Sheets. Circulate an Excel file by email or chat and the versions will fork. The moment a file named something like "schedule_revised_final2.xlsx" appears, the chart has stopped being a document anyone can trust.
Write in tasks shorter than a day and the effort of updating starts to squeeze out project management itself. Aim for two to five working days per task. Anything smaller belongs on the owner's personal to-do list, not on the chart.
This is the most common failure, and the cause is that no update timing was ever agreed. Decide a rule — the first ten minutes of the weekly meeting go to updating progress, say — on the same day you build the chart. An out-of-date Gantt chart is not neutral: the moment it diverges from reality it becomes material for bad decisions.
Bury a private buffer inside each task estimate and the slack gets consumed within that task every time. Buffer works better held at the end of a phase than distributed across individual tasks. Ten to twenty percent of the total is a reasonable target.
A Gantt chart in Excel or Sheets works perfectly well for a single project. Management costs climb sharply, though, once any of the following is true.
Once maintaining the template starts eating into your time, that is the signal to reconsider the tool. Xtrategy manages campaign schedules alongside budget and KPIs on a single screen, so progress across multiple campaigns can be reviewed together. For managing work at the campaign level, see also the marketing campaign management template.

How to build a task tracker in Excel, how it differs from a WBS, Gantt chart and issue log, the nine-column layout, the ...

The twelve columns of an issue log and four rules for writing entries, how to set priority, and the conditional formatti...

A five-step method for building a work breakdown structure, a column layout and sample hierarchy you can copy, and four ...