How to Auto Create Sheet Tabs and Table of Contents with Hyperlinks in Excel
In this tutorial, I’ll will walk you through the process of automatically creating multiple sheet tabs from a list of values in Excel, and generating a table of contents with hyperlinks, allowing you to navigate seamlessly through your workbook.
Step 1: Organize Your Data Begin by organizing your data in Excel. Create a list of all the sheets you want to include in your workbook. Ensure that the list is properly formatted and located within your Excel workbook.
Step 2: Insert a Pivot Table
Click on the "Insert" tab in Excel.
Select "PivotTable" from the options.
Choose the range of data that includes your list of sheet names.
Opt to place the PivotTable in the existing worksheet.
Select a cell to place the PivotTable and click "OK".
Step 3: Set Up Pivot Table Filters
Drag the header of your list into the filters area of the PivotTable.
Navigate to the "PivotTable Analyze" tab.
Under PivotTable Name, click on the “Options” dropdown and select "Show Report Filter Pages".
Choose your index column and click "OK".
Step 4: Arrange Sheet Tabs
Once the sheet tabs are generated, you may notice they are in alphabetical order.
Rearrange the tabs according to your preferred order by dragging and dropping them.
Step 5: Remove Pivot Tables from Tabs
Select the first newly generated tab and notice it contains the Pivot Table filter.
Hold the Shift key and select the last tab that was generated so that all the newly crated sheet tabs are “selected”.
On any one of the highlighted sheets, select the columns containing the PivotTable filters.
Right-click and choose "Clear Contents" to remove the PivotTable and this removes the Pivot Table from all selected tabs.
Step 6: Delete Unnecessary Tabs
Delete the PivotTable from the main sheet, you no longer need it.
Copy the data from the original sheet (if applicable) to preserve information.
Delete any unnecessary tabs to streamline your workbook.
Step 7: Create Hyperlinks for Table of Contents
In a new column, label it as "Link to Tab" or “Hyperlinks” (or any other header label as needed).
Format your data into a table.
Insert the hyperlink formula used in this video (replace "Index" with your own sheet name):
=HYPERLINK("#'"&[@Index]&"'!A1",[@Index])Auto fill in Excel will copy the formula down the column and create hyperlinks to each sheet tab.
Step 8: Link Back to Table of Contents
Navigate to the first sheet where you want to create a hyperlink back to the table of contents.
Select the cell where you want the hyperlink.
Click on "Insert" > "Link" > "Place in this Document".
Select the master sheet table of contents and customize the link text if desired.
Copy this link back to the master sheet and paste it on every tab where you want to have it link back to the master sheet Table of Contents.
Step 9: Test and Finalize
Test all hyperlinks to ensure they navigate correctly.
Make any final adjustments to formatting or layout.
Save your Excel workbook.
Conclusion: Congratulations! You've successfully created sheet tabs and a table of contents with hyperlinks in Excel, making navigation through your workbook more efficient and organized.
If you already have your sheet tabs, but not a listing of them to create your master sheet table of contents, you can watch this video to see how to generate a list of all your sheet tabs using Power Query - this is a very easy techniqe!