How to Create a Gantt Chart in Google Sheets

How to Create a Gantt Chart in Google Sheets

How to Create a Gantt Chart in Google Sheets GA S REGULAR Menu Lifewire Tech for Humans Newsletter! Search Close GO Software & Apps > Google Apps 108 108 people found this article helpful

How to Create a Gantt Chart in Google Sheets

Manage projects in a spreadsheet you can easily share

By Scott Orgera Scott Orgera Writer Scott Orgera is a former Lifewire writer covering tech since 2007. He has 25+ years' experience as a programmer and QA leader, and holds several Microsoft certifications including MCSE, MCP+I, and MOUS. He is also A+ certified. lifewire's editorial guidelines Updated on February 10, 2021 Tweet Share Email Tweet Share Email Google Apps Sheets Docs Slides

What to Know

You must build a project schedule and create a calculation table to generate a Gantt chart.Insert a stacked bar chart using the calculation table and go to Customize > Series > Start Day > Color > None. This article explains how to create a project schedule and a calculation table to generate a Gantt chart in Google Sheets.

Build Your Project Schedule

Google Sheets provides the ability to create detailed Gantt charts in a spreadsheet. The steps are easy. Build a project schedule, create a calculation table, and then generate the Gantt chart. Before diving into Gantt chart creation, you first need to define your project tasks along with the corresponding dates in a simple table. Launch Google Sheets, and open a blank spreadsheet. Choose a suitable location near the top of the spreadsheet, and type the following heading names in the same row, each in a separate column, as shown in the screenshot below: Start DateEnd DateTask Name To make things easier for yourself later in this tutorial, use the same locations that are used in this example (A1, B1, C1). Enter each of your project tasks along with the corresponding dates in the appropriate columns, using as many rows as necessary. List tasks in the order of occurrence (top to bottom = first to last), and the date format should be MM/DD/YYYY. Other formatting aspects of your table (such as borders, shading, alignment, and font styling) are arbitrary in this case since the primary goal is to enter data that will be used by a Gantt chart later. It's completely up to you whether you'd like to make further modifications so that the table is more visually appealing. If you do, however, the data must remain in the correct rows and columns.

Create a Calculation Table

Inputting start and end dates isn't enough to render a Gantt chart because its layout relies on the amount of time that passes between those two important milestones. To handle this requirement, create another table that calculates this duration: Scroll down several rows from the initial table that you created above. Type the following heading names in the same row, each in a separate column: Task NameStart DayTotal Duration Copy the list of tasks from the first table into the Task Name column, ensuring that the tasks are listed in the same order. Type the following formula into the Start Day column for the first task, replacing A with the column letter which contains the Start Date in the first table, and 2 with the row number: =int(A2)-int($A$2)
Press Enter when finished. The cell should display 0. Select and copy the cell where you entered this formula, either using a keyboard shortcut or by selecting Edit > Copy from the Google Sheets menu. Select the remaining cells in the Start Day column and select Edit > Paste. If copied correctly, the Start Day value for each task reflects the number of days from the beginning of the project that it's set to begin. To validate that the Start Day formula in each row is correct, select its corresponding cell and ensure that it is identical to the formula typed in Step 4. There's one notable exception: the first value (int(xx)) matches the appropriate cell location in the first table. Next is the Total Duration column, which needs to be populated with another formula that's slightly more complicated than the previous one. Type the following into the Total Duration column for the first task, replacing cell location references with those corresponding to the first table in the spreadsheet (similar to Step 4): =(int(B2)-int($A$2))-(int(A2)-int($A$2))
If you have any issues determining the cell locations that correspond to your spreadsheet, this formula key should help: (current task's end date - project start date) - (current task's start date - project start date). Press the Enter key when finished. Select and copy the cell in which you just entered this formula. Once the formula has been copied to the clipboard, select and paste to the remaining cells in the Total Duration column. When copied correctly, the Total Duration value for each task reflects the total number of days between its respective start and end dates.

Generate a Gantt Chart

Now that your tasks are in place, along with the corresponding dates and duration, it's time to create a Gantt chart: Select every cell within the calculation table, including the headers. Go to Insert > Chart. A new chart appears, titled Start Day and Total Duration. Select and drag it so that it is positioned below or beside the tables, but not on top of the tables. Select the chart once, and from its upper-right menu, choose Edit chart. Under Chart type, scroll down to the Bar section and choose Stacked bar chart (the middle option). From the Customize tab in the chart editor, select Series so that it opens and displays available settings. In the Apply to all series menu, choose Start Day. Choose the Color option and select None. Your Gantt chart is created. You can view individual Start Day and Total Duration figures by hovering over the respective areas in the graph. You can also make other modifications from the chart editor, including dates, task names, the title, color scheme, and more. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Subscribe Tell us why! Other Not enough details Hard to understand Submit More from Lifewire How to Use Google Sheets How to Put a Spreadsheet in Google Slides How to Make a Gantt Chart in PowerPoint How to Remove Duplicates in Google Sheets How to Highlight and Find Duplicates in Google Sheets How to Sum Columns or Rows in Google Sheets How to Create a Report in Excel How to Create Exploding Pie Charts in Excel How to Make a Calendar In Excel How to Combine Two Columns in Excel How to Make a Graph in Google Sheets The Do's and Don'ts of Entering Data in Excel How to Subtract Dates in Excel How to Create a Pivot Table in Google Sheets Relative, Absolute, and Mixed Cell References in Excel and Sheets What Is Google Sheets? Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up Newsletter Sign Up By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookies Settings Accept All Cookies
Share:
0 comments

Comments (0)

Leave a Comment

Minimum 10 characters required

* All fields are required. Comments are moderated before appearing.

No comments yet. Be the first to comment!