Download ArticleDownload 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

Download Article
  1. How.com.vn English: Step 1 Create an index sheet in your workbook.
    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. How.com.vn English: Step 2 Type Page Number into cell A1 of your index sheet.
    Column A is where you'll be placing the page numbers for each sheet.
    Advertisement
  3. How.com.vn English: Step 3 Type Sheet Name into cell B1 of your index sheet.
    This will be the column header above your list of worksheets.
  4. How.com.vn English: Step 4 Type Link into cell C1 of your index sheet.
    This is the column header that will appear above hyperlinks to each worksheet.
  5. How.com.vn English: Step 5 Click the Formulas tab.
    It's at the top of Excel.[1]
  6. How.com.vn English: Step 6 Click Define Name.
    It's on the "Defined Names" tab at the top of Excel.[2]
  7. Step 7 Type SheetList into the "Name" field.
    This names the formula you'll be using with the INDEX function.[3]
  8. Step 8 Type the formula into the "Refers to" field and click OK.
    The formula is =REPLACE(GET.WORKBOOK(1),1,FIND("]",GET.WORKBOOK(1)),"").[4]
  9. How.com.vn English: Step 9 Enter page numbers in column A.
    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. How.com.vn English: Step 10 Type this formula into cell B2 of your index sheet.
    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. How.com.vn English: Step 11 Fill the rest of column B with the formula.
    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. How.com.vn English: Step 12 Type this formula into C2 of your worksheet.
    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. How.com.vn English: Step 13 Fill the rest of column C with the formula.
    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. How.com.vn English: Step 14 Save your workbook in the macro-enabled format.
    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

Download Article
  1. How.com.vn English: Step 1 Click your index or table of contents sheet.
    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. How.com.vn English: Step 2 Name the index.
    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. How.com.vn English: Step 3 Click any of the sheets in your workbook.
    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. How.com.vn English: Step 4 Click the Insert tab.
    It's at the top of the screen.[6]
  5. How.com.vn English: Step 5 Click the Illustrations menu and select Shapes.
    This option will be in the upper-left area of Excel.[7]
  6. How.com.vn English: Step 6 Click a shape for your button.
    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. How.com.vn English: Step 7 Click the location where you want to place the button.
    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. How.com.vn English: Step 8 Type some text onto the shape.
    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. How.com.vn English: Step 9 Right-click the shape and select Link.
    This opens the Insert Hyperlink dialog.[9]
  10. How.com.vn English: Step 10 Click the Place in This Document icon.
    It's in the left panel.
  11. Step 11 Select your index under "Defined Names" and click OK.
    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. How.com.vn English: Step 12 Copy and paste the hyperlink to other sheets.
    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
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Nicole Levine, MFA
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for How.com.vn. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. This article has been viewed 107,142 times.
      How helpful is this?
      Co-authors: 3
      Updated: May 10, 2024
      Views: 107,142
      Categories: Microsoft Excel
      Article SummaryX

      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 107,142 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement