Designed more than century ago, Gantt chart is very popular to the Project Manager communities and decision makers. This is equally important to project team.

It is a horizontal bar chart that shows activities over time with additional details on the same chart. We will create a template for Gantt chart in google sheets together. You would also be able to download the template. If you are only interested in the template, please scroll down and download the template.

The Template we are going to create in google sheets will have all the following elements of modern gantt chart

Gantt chart in our google sheet example

  1. List of Tasks
  2. Timeline in Month and day of the Month
  3. Task start and finish
  4. How long each task will take
  5. Who is working on each task
  6. Milestone
  7. Dateline
  8. The finish date of the project.

Let's see how our gantt chart is going to look like

gantt-chart-google-sheet-example.png

How to build the gantt chart in google sheets using conditional formatting

We will simple conditional formatting to create our gantt chart.

Steps:

  • Create Headers: Take a blank google sheets and put the data columns from second rows (A2): ID, Start Date, End Date, Who, Milestone, Status, Tasks. Here, Start Date and End Date is used to create the horizontal bar representing the Tasks. Milestone field is used to mark the end of task as milestone. Status is used to change the color of the bar as inactive

  • Change Column width: Select column H till NM (H:NM). right click on the column heading and change column width to 10 pixels. Each of this column would be used to represent a day
Column-width-setting-google-sheets.png
  • Populate dates for Timeline: We use Cell B3 to put the first task of the Project. the Gantt chart starts with that date. so on Cell H2 type in =B3. On I2 put H2+1 and copy I2 to all the cell through NM2

  • Create dateline using Conditional Formatting: This the vertical line representing today. We will create for 100 rows. So, let's select H2:NM100. Click on Format Menu->Conditional Formatting. On the the new pop-up ensure that Apply ranges to shows H2:NH100. select Custom Formula is in the Format rules. Write =H$2=today() and then select the day colorin the formatting style. Please refer to the picture below
Conditional-formatting-google-sheets.png
  • Create Gantt Chart horizontal line using conditional formatting: The last part of preparing the template is representing the task on horizontal line according to the start and end date. Almost same as previous step. We select H3:NH100 instead of H2:NH100 and add Custom Formulas. You can follow the picture below. The first formula we created in the previous steps. Rest three you have to do in the same sequence as shown in the picture below. This will also add the milestone

Conditional-formatting-for-Gantt-chart-task-and-milestones-google-sheets.png

Now at the last part I will share the template that we have created together. You should check yourself to see how I have implemented Automatic Month and Year name and difference in the color. It is all in the conditional formatting. I think you will love finding that yourself

Here is the template Gantt Chart Template using conditional formatting . You can open it online and make a copy for yourself and use it.

You can reuse the template by replacing the data from your data table. Just ensure that

The Columns are matching. Like data of start date of tasks has to match start date of the template. Hope this will be useful