PDF download Download Article PDF download Download Article

If your Excel workbook contains numerous worksheets, you can add a table of contents that indexes all of your sheets with clickable hyperlinks. This tutorial will teach you how to make an index of sheet names with page numbers in your Excel workbook without complicated VBA scripting, and how to add helpful "back to index" buttons to each sheet to improve navigation.

Part 1
Part 1 of 2:

Making the Index

PDF download Download Article
  1. This sheet can be anywhere in your workbook, but you'll usually want to place the tab at the beginning like a traditional table of contents.
    • To create a new sheet, click the + at the bottom of the active worksheet. Then, right-click the new tab, select Rename , and type a name for your sheet like Index or Worksheets .
    • You can rearrange sheets by dragging their tabs left or right at the bottom of your workbook.
  2. Column A is where you'll be placing the page numbers for each sheet.
    Advertisement
  3. This will be the column header above your list of worksheets.
  4. This is the column header that will appear above hyperlinks to each worksheet.
  5. It's at the top of Excel. [1]
  6. It's on the "Defined Names" tab at the top of Excel. [2]
  7. This names the formula you'll be using with the INDEX function. [3]
  8. The formula is =REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"") . [4]
  9. This is the only part you'll have to do manually. For example, if your workbook has 20 pages, you'll type 1 into A2, 2 into A3, etc., and continue numbering down until you've entered all 20 page numbers.
    • To quickly populate the page numbers, type the first two page numbers into A2 and A3, click A3 to select it, and then drag the square at A3's bottom-right corner down until you've reached the number of pages in your workbook. Then, click the small icon with a + that appears at the bottom-right corner of the column and select Fill Series .
  10. The formula is =INDEX(SheetList,A2) . When you press Enter or Return , you'll see the name of the first sheet in your workbook.
  11. To do this, just click B2 to select it, and then double-click the square at its bottom-right corner. This adds the name of each worksheet corresponding to the page numbers you typed into column A.
  12. The formula is =HYPERLINK("#'"&B2&"'!A1","Go to Sheet") . When you press Enter or Return , you'll see a hyperlink to the first page in your index called "Go to Sheet."
  13. To do this, click C2 to select it, and then double-click the square at its bottom-right corner. Now each sheet in your workbook has a clickable hyperlink that takes you right to that page.
  14. Because you created a named range, you'll need to save your workbook in this format. [5] Here's how:
    • Go to File > Save .
    • On the pop-up message that warns you about saving a macro-free workbook, click No .
    • In the "Save as type" or file format menu, select Excel Macro-Enabled Workbook (*.xlsm) and click Save .
  15. Advertisement
Part 2
Part 2 of 2:

Creating Hyperlinks Back to the Index

PDF download Download Article
  1. If you have a lot of pages in your workbook, it'll be helpful to readers to add quick "Back to Index" or "Back to Table of Contents" links to each sheet so they don't have to scroll through lots of worksheet tabs after clicking to that page. Start by opening your index sheet.
  2. To do this, just click the field directly above cell A1, type Index , and then press Enter or Return .
    • Don't worry if the field already contains a cell address.
  3. Now you'll create your back button. Once you create a back button on one sheet, you can just copy and paste it onto other sheets.
  4. It's at the top of the screen. [6]
  5. This option will be in the upper-left area of Excel. [7]
  6. For example, if you want to create a back-arrow icon sort of like your web browser's back button, you can click the left-pointing arrow under the "Block Arrows" header.
  7. Once you click, the shape will appear. If you want, you can change the color and look using the options at the top, and/or resize the shape by dragging any of its corners. [8]
  8. The text you type should be something like "Back to Index." You can double-click the shape to place the cursor and start typing right onto the actual shape
    • You might need to drag the corner of the shape to resize it so the text fits.
    • To place a text box on or near the shape before typing, just click the Shape Format menu at the top (while the shape is selected), click Text Box in the toolbar, and then click and drag a text box.
    • You can stylize the text using the options in Text on the toolbar while the shape is selected.
  9. This opens the Insert Hyperlink dialog. [9]
  10. It's in the left panel.
  11. You might have to click the + next to the column header to see the Index option. This makes the text in the shape a clickable hyperlink that takes you right to the index.
  12. To do this, just right-click the shape and select Copy . Then, you can paste it onto any other page by right-clicking the desired location and selecting the first icon under "Paste Options" (the one that says "Use Destination Theme" when you hover the mouse over it). [10]
  13. Advertisement

Expert Q&A

Ask a Question
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!

      About This Article

      Article Summary X

      To create a table of contents in Excel, you can use the "Defined Name" option to create a formula that indexes all sheet names on a single page. Then, you can use the INDEX function to list the sheet names, as well as the HYPERLINK function to create quick links to each sheet.

      Did this summary help you?
      Thanks to all authors for creating a page that has been read 129,284 times.

      Is this article up to date?

      Advertisement