How To Create a Gantt Chart with Google Sheets

Google Spreadsheet Gantt chart examples that use the Chart feature as the visualization. I like to use the SPARKLINE() function. This keeps the project task visualization in the same place as all the important details about each task such as the RACI assignments or progress updates.

Google Docs and Gantt charts are a perfect match. Google Spreadsheets offers the ability to share and update spreadsheets in real-time which is a major benefit for any project team- especial those who work in different locations or time zones. On top of that, you can’t beat the free price!


To create the visualization, we are going to use “bar” for the value of “charttype.” Then we get a little bit clever with colors to show the start and end dates of each task. The SPARKLINE formula for each task visual looks like this:

[=SPARKLINE({INT(taskStart)-INT(projectStart), INT(taskFinish)-INT(projectFinish)},{"charttype","bar";"color1","white";"empty","zero"; "max",INT(projectFinish)-INT(projectStart)})]
The projectStart and projectFinish values are the start and end date of the project, and the taskStart, and taskFinish values are the start and end dates for the task that is being shown in the timeline visualization.

The reason everything is being wrapped in the INT() function is so that the dates can be subtracted from each other to provide the difference in days. The first argument to SPARKLINE puts two values in the array literal that are essentially:

{daysSinceProjectStartUntilTaskStart, daysSinceProjectStartUntilTaskFinish}
The SPARKLINE function then makes two bars, one which is colored "white", as to be invisible and the other which is colored blue (by default) or any color you choose by setting "color2". The value for "max" is the difference between the start and end of the project in days.

On the example template, there are a couple other features: a week-by-week ruler and the burndown visualization.

The week-by-week visualization uses a clever little formula to make an array of number incrementing by seven as the first argument to SPARKLINE to display alternating colored bars for each week of the project's duration.

split(rept("7,",round((int(projectEnd)-int(projectStart))/7)),",")
The burn down visualization shows the days that have been burned through the project. This gives you a visual display of how well the project is keeping on track to its timeline. The first argument to SPARKLINE is a dynamic value, calculated by subtracting the project’s start date from the current date:
int(today())-int(projectStart)

Customizing your Timelines

Each SPARKLINE function takes arguments for color1 and color2. These values set the color of the alternating bars in the bar visualization. For each task, color1 is set to white so to be invisible. But color2 can be set to anything that may be useful for managing your project. Colors could be specified by task owner or type, or even by dynamically set based on if they are ahead of schedule, in progress, late, etc...

Keep this in your Google Docs project folder with all of your other important project documentation for a neat project hub.

COMMENTS

Name

ARRAY FORMULA,1,Budget Templates,1,Download Template,1,Essential Tips,1,Excel Template,1,Gantt Chart,1,Google Docs,1,Google Sheet,5,Google Sheet Add On,2,Google Sheet Formula,2,Google Sheets,8,Google Sheets Chart,1,Google Sheets Functions,3,Google Sheets Macro,1,Household Budget Templates,1,How to,11,keyboard shortcuts,1,Need to Know,1,Pivot Table,1,Tips and Tricks,6,
ltr
item
The Office Tricks: How To Create a Gantt Chart with Google Sheets
How To Create a Gantt Chart with Google Sheets
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkpiQ4JSPBk9Reyc74RYNImdIXo3qmM-LrxJtOig6uCU3_Woa1RuileIA9bjGwnWfN33RF24JS20M8M0BbS0vfxWnU2AxW0DvnDG_sGIlYqBurXO258-3NJ-jbeyCR4De3xQkWAeKf8K8P/s1600/gantt-chart-template-sheets.jpg
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkpiQ4JSPBk9Reyc74RYNImdIXo3qmM-LrxJtOig6uCU3_Woa1RuileIA9bjGwnWfN33RF24JS20M8M0BbS0vfxWnU2AxW0DvnDG_sGIlYqBurXO258-3NJ-jbeyCR4De3xQkWAeKf8K8P/s72-c/gantt-chart-template-sheets.jpg
The Office Tricks
https://theofficetricks.blogspot.com/2018/09/create-gantt-chart-google-sheets.html
https://theofficetricks.blogspot.com/
https://theofficetricks.blogspot.com/
https://theofficetricks.blogspot.com/2018/09/create-gantt-chart-google-sheets.html
true
2683631591702906538
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy