Function Problems

How to Find Matching Values and Create Hyperlinks Between Excel Sheets

Natalie TaylorNatalie Taylor Nov 10, 2026 868 views

Question details

The user wants to match a specific ID from one worksheet to a text string in another worksheet, extract the related key, and convert the result into a clickable hyperlink linking directly to the matched cell.

Find Matching Values and Create Clickable Hyperlinks Between Excel Sheets
Product
Excel
Device & OS
not provided
Scenario
Cross-sheet data matching and internal workbook navigation.
Observed behavior
The user needs a formula capable of executing wildcard matching across sheets and returning a functioning internal hyperlink to the matched data, instead of just displaying the matched value.
Before you start

Ensure that both worksheets are located in the same workbook, as creating local hyperlink references to different workbooks requires different syntax and may break if the files are moved.

Solution 1Recommended

Use XMATCH and HYPERLINK to Match and Link Data

This method uses modern functions to perform a wildcard search, retrieve the matching key, and generate a dynamic, clickable internal link to the exact destination cell.

By combining XMATCH for wildcard searching, INDEX to retrieve the key, and ADDRESS to build the cell reference, you can create a highly dynamic HYPERLINK formula.

Note that local workbook hyperlinks constructed this way may have limited functionality when viewed in Excel for the web.

1
Select the Destination Cell

Click on the cell in your primary worksheet where you want the resulting clickable key to be displayed.

2
Input the LET Formula Structure

Begin by typing a formula utilizing the LET function to declare variables for easier reading. Input: =LET(id, A5, match, XMATCH("*"&id&"*", Sheet2!$B$2:$B$100, 2), IFERROR(HYPERLINK("#'Sheet2'!"&ADDRESS(match+1,1), INDEX(Sheet2!$A$2:$A$100, match)), "No Match"))

3
Customize Ranges and References

Replace 'A5' with the cell containing the JIRA ID you want to look up. Replace 'Sheet2!$B$2:$B$100' with the column range containing your descriptive text, and 'Sheet2!$A$2:$A$100' with the column range containing the keys you want to return.

4
Apply and Test the Link

Press Enter to execute the formula. Click the generated hyperlink text in the cell; it should immediately navigate to the corresponding row in Sheet2.

Use XMATCH and HYPERLINK to Match and Link Data
Syntax Note: The '#' symbol is strictly required before the sheet name in the HYPERLINK function format (e.g., "#'Sheet2'!") to indicate that the location is within the current workbook.
Advanced Formula Management

Use WPS Spreadsheet for Advanced Formula Handling

WPS Spreadsheet provides comprehensive support for advanced modern functions like XMATCH, LET, and HYPERLINK. You can easily replicate complex lookup algorithms to seamlessly match data and navigate across large datasets efficiently.

  1. 1. Open Your Workbook: Launch WPS Spreadsheet and open the file containing your cross-sheet data.
  2. 2. Input the Match Formula: Select the target cell and enter the combined HYPERLINK and XMATCH variable formula precisely as you would in Microsoft Excel.
  3. 3. Test Navigation: Hit Enter to calculate the key, then click on the newly created hyperlink to jump fluidly to the matched record.
Fully compatible with Microsoft Excel formulas and cross-sheet referencing.Handles nested functions like LET, XMATCH, and HYPERLINK intelligently.Free to download and use with a lightweight, user-friendly interface.Simplifies data matching and internal workbook navigation across huge enterprise files.
microsoft office alternative - wps office

Frequently Asked Questions

Why does my HYPERLINK formula return a 'Cannot open specified file' error?

This error typically occurs if the internal link syntax is formatted incorrectly. Ensure you use the '#' symbol immediately before the sheet name prefix (for instance, `HYPERLINK("#'Sheet2'!A1", "Link")`) to signal the formula to navigate within the same active workbook.

Will these dynamic hyperlink formulas work in Excel for the web?

Formulas that dynamically generate local workbook HYPERLINK paths have limited support in Excel for the web and might fail to redirect properly upon user click. It is highly recommended to use the desktop application to maintain full functional support for internal navigation links.

Can I use VLOOKUP instead of XMATCH for dynamic hyperlinks?

Yes, you can use VLOOKUP inside the HYPERLINK function's 'friendly_name' argument to display the matched value. However, VLOOKUP alone cannot provide the cell address needed for the 'link_location' argument; you still need functions like MATCH and ADDRESS to dynamically construct the destination cell reference.