Most people searching for a Gantt chart Google Sheets setup want the same thing: a row per task and a colored bar showing when it runs. You don't need an add-on for that. One conditional formatting rule does it.
This post shows how to build that Gantt chart step by step, a weekly version for longer projects, two built-in alternatives, and when a Gantt is the wrong tool and a one-page year calendar works better.
TL;DR
- You get a working Gantt chart in Google Sheets from one conditional formatting rule, with no add-ons.
- The rule's dollar signs must be exactly right, or the bars shift by a row or a column.
- The common mistake is stretching a daily Gantt across a whole year until nobody can read it.
Who this is for
- Project Manager: You get task bars that move when dates change, inside a sheet the whole team can open.
- Construction Project Manager: Overlapping trades show up as overlapping bars, so sequencing problems are visible.
- Event Planner: Vendor deadlines and setup tasks line up against the event date at a glance.
- Product Manager: Design, build and testing phases are easy to show in a review without extra software.
- Graduate Student: Thesis chapters, data collection and deadlines fit on one chart you can share with an advisor.
Gantt chart or year calendar?
A Gantt chart is great for one project with tasks that depend on each other over a few weeks or months. You see which tasks overlap and which ones are late.
For a whole year of several projects, it gets unwieldy. A daily Gantt for 365 days is 365 columns wide. At that point, a one-page year calendar is easier: Big Year puts all 12 months of 2027 on the BIG tab of a free Google Sheet, so you can type each project's milestones and launches on their days and see the year at once.
A good setup uses both: a Gantt for each active project, and the year calendar for the dates that matter across all of them.
Build a daily Gantt chart with conditional formatting
- In A1, B1 and C1 type Task, Start and End. Fill in tasks from row 2, with real dates in B and C.
- In D1, type
=MIN(B2:B20)to start the timeline on the earliest start date. - In E1, type
=D1+1and drag it right as far as you need, for example to BK1 for 60 days. - Select row 1 from D onward and format it as a short date (Format, Number, Custom date and time, then just the day and month).
- Select D2:BK20, open Format, Conditional formatting, choose Custom formula is, and enter
=AND(D$1>=$B2,D$1<=$C2). Pick a fill color.
Every cell where the column's date falls between that row's start and end fills in, which draws the bars. The dollar signs matter: D$1 locks the date row, and $B2 and $C2 lock the start and end columns. Empty rows stay blank because their end date is empty and fails the test.
To mark today, add a second rule on the same range with =D$1=TODAY() and a different color.
A weekly Gantt for longer projects
For a project longer than two or three months, use one column per week instead:
- D1:
=MIN(B2:B20)-WEEKDAY(MIN(B2:B20),3), which is the Monday of the first week (WEEKDAY type 3 counts Monday as 0). - E1:
=D1+7, dragged right. - Conditional formatting on D2 onward:
=AND(D$1<=$C2,D$1+6>=$B2).
A week fills in if any part of the task falls inside it. Twenty-six columns covers half a year.
Two built-in alternatives
Timeline view. Google Sheets has a timeline view under Insert, Timeline. It needs a card title, a start date and an end date for each row, and draws cards along a timeline. Google's help page lists the Workspace editions that have it, so if you don't see it in the Insert menu, your account type may not include it.
SPARKLINE bars. You can draw a bar in one cell per task. In D2:
=SPARKLINE({B2-MIN($B$2:$B$20),C2-B2+1},{"charttype","bar";"color1","white";"color2","#00897B";"max",MAX($C$2:$C$20)-MIN($B$2:$B$20)+1})
The first segment is white (the gap before the task starts) and the second is the task. The max setting makes every row use the same scale, so the bars line up. If your spreadsheet uses a comma as the decimal separator, the array separators in this formula are different, so the simpler conditional formatting version is the safer choice.
When the Gantt is built, copy each project's launch and final deadline onto the BIG tab of Big Year, and add holidays in its SETTINGS tab so they highlight. That's the page to check before you agree to a new project's end date.
Common pitfalls
-
Wrong dollar signs: Use
D$1,$B2and$C2exactly, with the rule applied starting from D2. - Dates stored as text: If start or end dates are left-aligned, retype them so the comparison works.
- A daily Gantt for a year-long plan: Switch to the weekly version, or use a year calendar for the overview.
- Hard-coding the first date: Use MIN on the start column so the timeline moves when the plan does.
FAQ
Does Google Sheets have a Gantt chart?
There's no chart type called Gantt, but conditional formatting, SPARKLINE bars or the timeline view (on some Workspace editions) all give you one.
What formula makes a Gantt chart in Google Sheets?
A conditional formatting rule like =AND(D$1>=$B2,D$1<=$C2), with dates across row 1 and start and end dates in columns B and C.
Can I make a Gantt chart with weeks instead of days?
Yes. Put a Monday in each header cell and use =AND(D$1<=$C2,D$1+6>=$B2) as the rule.
Is a Gantt chart the same as a project calendar?
No. A Gantt shows task durations and overlaps for a project. A calendar shows dates, which is better for a year of launches and milestones.
Planning next year? Get the Big Year, a free 2027 calendar in Google Sheets.