Coder Social home page Coder Social logo

googlesheetstableofcontents's Introduction

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

  • Table of Contents Generator: a sheet with links to various defined sections can be automatically created
  • Outline functionality that allows you to jump to sections quickly from the sidebar
  • Sort button that will automatically re-organize your sheets alphabetically by section
  • Built-in instruction manual that will tell you how to use the tool

Installation

  • Open Tools dropdown from the Google Sheet Toolbar
  • Select Script Editor
  • Copy Code.gs and Sidebar.html into the Script Editor from this repo
  • Close the Script Editor

Using It (After Installation)

  • Hover over Add-Ons
  • Find 'NOKORI•WARE Table of Contents Generator'
  • Hover over that entry to open the submenu containing all of this plugin's tools available
  • For more in-depth instruction on usage, select the 'Open Instruction Manual' option

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.

googlesheetstableofcontents's People

Contributors

skyaphid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.