How to Make Excel Hyperlinks Follow Inserted Rows or Columns
Question details
The user needs to ensure that hyperlinks pointing to specific cells update dynamically when new rows or columns are inserted into the worksheet.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Navigating a spreadsheet using hyperlinks, where the underlying data structure frequently changes due to inserted rows or columns.
- Observed behavior
- Standard hyperlinks point to static cell coordinates. When rows or columns are added, the data shifts, but the hyperlink continues pointing to the original, now incorrect, cell address.
Ensure you are using a desktop version of your spreadsheet software, as web versions may not support the creation of defined names required for this method.
Use Defined Names for Hyperlink Destinations
By creating a defined name (named range) for your target cell, the hyperlink will track the target data even if its cell address changes due to inserted rows or columns.
Standard hyperlinks in Excel use static references. When you insert a row, the data shifts, but the hyperlink remains anchored to the old address. A defined name ties the reference to the data itself, ensuring your navigation links remain accurate.
Open your workbook in the desktop spreadsheet application and select the specific cell or range you want the hyperlink to point to.
Click the Name Box located to the left of the formula bar, type a unique name for your cell (without spaces), and press Enter. Alternatively, navigate to the Formulas tab and click 'Define Name'.
Select the cell where you want to place the clickable hyperlink, right-click, and choose 'Link' or 'Hyperlink' from the context menu.
In the Insert Hyperlink dialog box, click 'Place in This Document' on the left panel, choose the defined name you just created under the 'Defined Names' section, and click OK.

Easily Create Dynamic Hyperlinks in WPS Spreadsheet
WPS Spreadsheet offers robust tools for defining names and managing hyperlinks, ensuring your document navigation never breaks when your data structure changes.
- 1. Define the target name: Select your target cell in WPS Spreadsheet, click the Name Box next to the Formula bar, enter a name, and press Enter.
- 2. Add the hyperlink: Right-click the cell where you want the link to appear and select 'Hyperlink' from the menu.
- 3. Connect the link: Select 'Place in this document', choose your newly created defined name from the list, and click OK.

Frequently Asked Questions
Why do my Excel hyperlinks go to the wrong cell after inserting rows?
Default hyperlinks are tied to specific cell coordinates (like C5). If you insert a row above row 5, your target data moves to C6, but the hyperlink will still direct you to the now-empty or overwritten C5.
Can I use formulas instead of defined names for dynamic hyperlinks?
Yes, you can combine the HYPERLINK function with MATCH and INDEX to create a dynamic link formula. However, using Defined Names is generally much simpler, visually cleaner, and less prone to calculation errors.
How do I edit or delete a defined name later?
You can manage your defined names by navigating to the Formulas tab and clicking on 'Name Manager'. From there, you can edit the cell references, rename them, or delete names you no longer need.
Do defined name hyperlinks work if I move the cell to another sheet?
Yes. As long as the defined name's scope is set to the entire 'Workbook' (the default setting), the hyperlink will follow the named cell even if you cut and paste it to a completely different worksheet within the same file.




