Function Problems

How to Create Dynamic Excel Hyperlinks That Follow Inserted Rows and Columns

Khadija KhanKhadija Khan Oct 23, 2026 869 views

Question details

The user needs to create hyperlinks in a spreadsheet that reliably jump to specific group headings or descriptions, even after new rows or columns are inserted.

How to Create Dynamic Excel Hyperlinks That Follow Inserted Rows and Columns
Product
Excel
Device & OS
not provided
Scenario
Creating an internal navigation system or table of contents within a spreadsheet where the layout changes frequently due to editing.
Observed behavior
Standard hyperlinks pointing to fixed cell addresses navigate to the wrong data because the cell coordinates do not automatically update when new rows or columns shift the original target cell's position.
Before you start

Identify the specific group headings or target cells you want to link to, and ensure your spreadsheet layout is clearly organized before setting up your defined names.

Solution 1Recommended

Use Defined Names for Dynamic Hyperlinks

Assigning a defined name to a target cell ensures that hyperlinks pointing to that name remain accurate regardless of added or removed rows and columns.

By default, Excel hyperlinks point to fixed cell coordinates (e.g., C15). If you add a row above C15, the target data moves to C16, but the link still points to C15. Using the Name Box to assign a 'Defined Name' to the cell binds the link to the data itself rather than its specific grid coordinates.

1
Select the target heading

Click on the cell containing the group heading or description you want the hyperlink to jump to.

2
Assign a defined name

Click inside the Name Box located immediately to the left of the formula bar. Type a descriptive name (like 'Entertainment' or 'Business') and press Enter. Note that defined names cannot contain spaces.

3
Open the Hyperlink dialog

Navigate to the cell where you want to place the clickable hyperlink. Right-click the cell and choose 'Hyperlink', or press the Ctrl + K keyboard shortcut.

4
Link to the defined name

In the Insert Hyperlink dialog, select 'Place in This Document' from the left panel. Look under the 'Defined Names' section, select the name you just created, and click OK.

Use Defined Names for Dynamic Hyperlinks
Dynamic Linking Complete: Your hyperlink will now follow the heading cell wherever it moves in the spreadsheet, maintaining accurate navigation when rows or columns are inserted or deleted.
Efficient Spreadsheet Management

Create Dynamic Links Easily in WPS Spreadsheet

WPS Spreadsheet provides an intuitive Name Manager and robust hyperlinking features, allowing you to easily build dynamic, error-free navigation systems in your workbooks.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document where you want to build your navigation links.
  2. 2. Define the target name: Select your target cell, type a unique name into the Name Box next to the formula bar, and press Enter.
  3. 3. Insert the hyperlink: Select the cell for your link, press Ctrl+K, click 'Place in This Document', and choose your newly defined name from the list.
Completely free and lightweight spreadsheet softwareFully compatible with Microsoft Excel (.xlsx) formatsIntuitive Name Manager for handling multiple defined cell rangesQuick insert options for efficient document navigation
microsoft office alternative - wps office

Frequently Asked Questions

Why do standard Excel hyperlinks break when I insert a row?

Standard hyperlinks use fixed cell references (like A10). When a row is inserted above it, your target data moves to A11, but the hyperlink remains hardcoded to A10, causing it to display the wrong cell.

Can I use spaces in defined names for my hyperlinks?

No, defined names cannot contain spaces. You must use underscores (e.g., Business_Expenses) or capitalize the first letters of connected words (e.g., BusinessExpenses) instead.

How do I edit or delete a defined name I created?

You can manage defined names by going to the Formulas tab and clicking on 'Name Manager'. From that menu, you can edit the cell references or delete names you no longer need.

Do dynamic hyperlinks work across different worksheets in the same file?

Yes. When creating the hyperlink, simply select the defined name from the list in the 'Place in This Document' menu. The link will navigate to the correct cell even if it is located on a completely different worksheet within the same workbook.