how to create a gantt chart in google sheets

Mastering Gantt Charts: Step-by-Step Google Sheets Tutorial

By Hannah Brown
AD

Creating visual timelines for your projects can significantly enhance productivity and collaboration. A Gantt chart, with its bar chart illustrations, is a staple in project management for this purpose. While Excel offers native Gantt charts, Google Sheets, with its wide accessibility and real-time collaboration features, is also an excellent platform to create them. Let's dive into a step-by-step guide on how to create a Gantt chart in Google Sheets.

Before we start, ensure you have a Google account and access to Google Sheets. If you're new to Google Sheets, familiarize yourself with its basic functions like creating, editing, and sharing spreadsheets.

Setting Up Your Google Sheets for a Gantt Chart

To begin, open a new or existing Google Sheets document. Your Gantt chart will be created using the sheet's width, so ensure your sheet is wide enough to visualize your tasks. For this guide, assume we're planning a simple project with five tasks.

AD
How to create a Gantt Chart in Google Sheets
How to create a Gantt Chart in Google Sheets
Creating a Gantt Chart with Stacked Bar Chart in Google Sheets
Creating a Gantt Chart with Stacked Bar Chart in Google Sheets
How to Create a Gantt Chart in Google Sheets
How to Create a Gantt Chart in Google Sheets

In the first row (A1:E1), list your tasks as headers. These will be the x-axis of your chart. In the second row (A2:B2), list the start dates for each task. In the third row (A3:E3), list the number of days each task will take. Make your sheet look like this:

Creating the Bars

Now, we'll create the bars representing each task's duration. In rows 4 and below, enter the following formula in cell A4 and copy-paste it until E4: `=IF(A3>0, ARRAYFORMULA(SUBSTITUTE(REPT("x", A3), "x", "\n")), "")`. This formula creates a column of 'x's, which will serve as our bar's body.

Diagramming With Google Sheets: How To Create Gantt Charts
Diagramming With Google Sheets: How To Create Gantt Charts
Creating a Gantt Chart in Google Sheets
Creating a Gantt Chart in Google Sheets
How to Make a Gantt Chart in Google Sheets
How to Make a Gantt Chart in Google Sheets

Copy this column and paste it as many times as needed until all tasks are covered. Make sure each task's bars are aligned correctly with their corresponding headers in row 1. Format your cells as Wrapped Text (Format > Text wrapping > Wrap) to accommodate long bars.

Creating the Dates

The next step is to create the dates that make up the y-axis of our chart. Starting from cell A5, enter the following formula: `=ARRAYFORMULA(IF(A2:E2="",, MODE(SUBSTITUTE(Flatten(A2:E2),",",""))))`. This formula calculates the latest start date among all tasks.

AD

Next, in cell A6, enter: `=ARRAYFORMULA(IF(A5=0,"",EDATE(A5, IF(A5=0, , ROW()*7-1))))`. This formula generates a date series extending seven days for each row until all tasks' durations are covered.

Weekly Project Plan (Gantt Chart) in Google Sheets
Weekly Project Plan (Gantt Chart) in Google Sheets
Gantt Chart Google Sheets Template
Gantt Chart Google Sheets Template
Create Gantt Chart Using Formulas in Google Sheets
Create Gantt Chart Using Formulas in Google Sheets
How to make a Gantt chart in Google Sheets + Free template
How to make a Gantt chart in Google Sheets + Free template
30 Days Challenge: Day 1 Making Gantt Chart in Google Sheets
30 Days Challenge: Day 1 Making Gantt Chart in Google Sheets
Project Management Template Excel & Google Sheets with Automatic Gantt Chart
Project Management Template Excel & Google Sheets with Automatic Gantt Chart

Styling Your Gantt Chart

Your Gantt chart is now ready, but it's a bit bland. Let's style it up! Select all your bars (data), click on Format > Conditional formatting, then Format cells if... > Custom formula is. Enter `=$A$1` and choose a fill color. Click 'Done'.

Now, copy and repeat this process for each task. For each task, modify the formula to `$A$2:$B$n` where 'n' is the last row of the bars for that task. This will give each task a distinct color.

AD

Adding Milestones

Sometimes, you may wish to mark certain dates as milestones. To do this, in a new column next to your chart, list the milestone dates. Highlight these cells and click Format > Fill > Highlight cells '+' > Custom range. Choose your highlight color and 'Done'.

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 Graph in Google Sheets (Step-by-Step Tutorial)
How to Make a Graph in Google Sheets (Step-by-Step Tutorial)
What Is a Gantt Chart and How Do You Create One?
What Is a Gantt Chart and How Do You Create One?

Style your milestones by clicking on Format > Borders > Outline borders. Adjust your settings to your preference. Next, click on the entire column containing milestones, click Format > Borders > Clear borders, then click Remove borders.

Your Google Sheets Gantt chart is now complete! Keep it up-to-date as your project progresses. Review it regularly to ensure you're on schedule. Happy planning!

AD
AD