Home

Awesome

Google Sheets - Table Of Contents Generator

This handy script will let you generate Table of Contents sheets for your Google Sheets document.

capture

About

Google Sheets, despite being really great free software, unfortunately doesn't have a built-in table of contents/outline tool like Google Docs has. I originally checked the web store and only found one add-on that handled this functionality, but it was unreliable and easy to break. So I decided to take one for the team and put this together in a few hours. I'm posting the software here because I know there has to be others like me who need it for their various large-scale projects.

Features

Installation

Using It (After Installation)

A table that's ready to have a Table of Contents generated from it will follow this format:

tableexample

Data used by table of contents generator are located in the A column, so that column must be reserved for section names. Cell A1 is the name of the Table of Contents. Everything below that cell denotes section names (e.g. equivalent to chapters in books). Empty cells are ignored. Non-empty cells are added to the Table of Contents and automatically linked to by the generator.