Mastering Gantt Charts: A Step-by-Step Guide to Google Sheets

Gregory Jul 09, 2026

Streamlining project management tasks has become increasingly convenient with the advent of digital tools. One such tool is Google Sheets, a versatile spreadsheet program that allows users to create, format, and share data. Among its many features, Google Sheets enables users to create Gantt charts, a visual representation of project schedules. This article will guide you through the process of creating a Gantt chart on Google Sheets.

How to Create a Gantt Chart in Google Sheets
How to Create a Gantt Chart in Google Sheets

Before we dive into the steps, let's briefly understand what a Gantt chart is. A Gantt chart is a type of bar chart that illustrates a project schedule. It was developed by Henry Gantt in the 1910s, and it's widely used in project management to schedule, coordinate, and track tasks and milestones.

How to make a Gantt chart in Google Sheets + Free template
How to make a Gantt chart in Google Sheets + Free template

Setting Up Your Google Sheets for a Gantt Chart

To create a Gantt chart, you first need to set up your Google Sheets with the necessary data. This includes the task names, start dates, end dates, and durations.

How to Create a Gantt Chart in Google Sheets
How to Create a Gantt Chart in Google Sheets

Here's a simple layout to get you started:

Task Start Date End Date Duration (Days)
Task 1 2022-01-01 2022-01-05 5
Task 2 2022-01-03 2022-01-10 8
Gantt Chart Template for Excel
Gantt Chart Template for Excel

Formatting Your Data

Once you've entered your data, you'll need to format it for the Gantt chart. This involves changing the format of your dates and durations.

To format dates, select the cells containing the dates, click on "Format" in the menu, then "Number," and finally, "Date." You can choose the date format you prefer.

How to Use Timeline Gantt Chart in Excel
How to Use Timeline Gantt Chart in Excel

Creating the Gantt Chart

Now that your data is set up, you can create the Gantt chart. Google Sheets uses a built-in function called "Sparklines" to create charts within a single cell. This is perfect for creating a compact Gantt chart.

To create the Gantt chart, select the cells containing the task names and durations. Then, click on "Insert" in the menu, then "Sparklines," and finally, "Line." In the dialog box that appears, select "Custom" and enter the following formula: "=ARRAYFORMULA(IF(LEN(A2:A), IF(B2:B<>"", IF(C2:C<>"", IF(D2:D<>"", {A2:A, IFERROR(D2:D/B2:B, "")}, ""), ""), ""), ""))". This formula calculates the length of each task bar based on the task duration and start date.

3 Easy Ways To Make a Gantt Chart (+ Free Excel Template)
3 Easy Ways To Make a Gantt Chart (+ Free Excel Template)

Customizing Your Gantt Chart

Once you've created your Gantt chart, you can customize it to fit your needs. This includes changing the color of the task bars, adding task dependencies, and more.

Free Gantt Chart Excel Template - Gantt Excel
Free Gantt Chart Excel Template - Gantt Excel
How to make a Gantt chart in Google Sheets + Free template
How to make a Gantt chart in Google Sheets + Free template
How to Make a Gantt Chart in Google Sheets
How to Make a Gantt Chart in Google Sheets
Make Gantt Chart in Excel: Quick Tutorial - How to Create Gantt Charts in Excel with Progress Bars
Make Gantt Chart in Excel: Quick Tutorial - How to Create Gantt Charts in Excel with Progress Bars
Free Gantt chart templates in Excel, Google Sheets, and GanttPRO
Free Gantt chart templates in Excel, Google Sheets, and GanttPRO
Mastering Your Production Calendar [FREE Gantt Chart Excel Template]
Mastering Your Production Calendar [FREE Gantt Chart Excel Template]
Gantt Chart Template in Excel, Google Sheets - Download | Template.net
Gantt Chart Template in Excel, Google Sheets - Download | Template.net
Simple Gantt Chart
Simple Gantt Chart
How to Create a Gantt Chart in Excel (Free Template) and Instructions | Planio
How to Create a Gantt Chart in Excel (Free Template) and Instructions | Planio
a screenshot of the class schedule for each class, which includes tasks and schedules
a screenshot of the class schedule for each class, which includes tasks and schedules
Free Gantt Chart Excel Template - Gantt Excel
Free Gantt Chart Excel Template - Gantt Excel
How To Create A Simple, Effective Gantt Chart In Excel
How To Create A Simple, Effective Gantt Chart In Excel
Gantt Chart Project Management Template | Team Task Tracker | Google Sheets  | Project Planner Timeline | Task Management | Project Planning
Gantt Chart Project Management Template | Team Task Tracker | Google Sheets | Project Planner Timeline | Task Management | Project Planning
These Are the 5 Best Gantt Chart Templates for Excel and Google Sheets
These Are the 5 Best Gantt Chart Templates for Excel and Google Sheets
23 Free Gantt Chart And Project Timeline Templates In PowerPoints, Excel & Sheets
23 Free Gantt Chart And Project Timeline Templates In PowerPoints, Excel & Sheets
Ultimate Gantt Chart Template for Google Sheets & Excel – Free Download
Ultimate Gantt Chart Template for Google Sheets & Excel – Free Download
How to Make a Timeline Chart in Google Sheets
How to Make a Timeline Chart in Google Sheets
Mastering Monthly Budgets with Excel
Mastering Monthly Budgets with Excel
How to Make a Gantt Chart in Microsoft Planner
How to Make a Gantt Chart in Microsoft Planner
Honest Breakdown of the 10 Best Free Gantt Chart Maker Software
Honest Breakdown of the 10 Best Free Gantt Chart Maker Software

Changing the Color of Task Bars

To change the color of the task bars, select the cells containing the Gantt chart. Then, click on the paint can icon in the toolbar that appears. This will allow you to choose a new color for the task bars.

Adding Task Dependencies

Task dependencies allow you to show which tasks must be completed before others can begin. To add task dependencies, select the cell containing the task that depends on another task. Then, click on the "Insert" menu, then "Drawing," and finally, "Line." Draw a line from the end of the first task to the start of the second task. This will show that the second task depends on the first.

Creating a Gantt chart on Google Sheets is a powerful way to visualize your project schedule. It allows you to see at a glance when tasks are scheduled to start and end, and how they relate to each other. With a bit of practice, you'll be creating intricate Gantt charts in no time.