Formula Errors

Fix an Invalid Worksheet Reference in an Excel HYPERLINK Formula

Bushra ParveenBushra Parveen Nov 22, 2026 868 views

Question details

The user needs an Excel HYPERLINK formula to navigate to a worksheet whose name resembles a cell or column reference.

Fix an Invalid Worksheet Reference in an Excel HYPERLINK Formula
Product
Microsoft Excel
Device & OS
not provided
Scenario
A workbook contains links to worksheets with names such as C1234C.
Observed behavior
The C1234C link reports that the reference is invalid, while a link to a similarly named worksheet works.
Before you start

Check the destination sheet tab for its exact name and confirm the target cell exists. If you use a cell to store the sheet name, make sure it contains the exact tab name without extra spaces.

Solution 1Recommended

Quote the Worksheet Name in the HYPERLINK Formula

Use single quotes around the sheet name so Excel can interpret it as a worksheet reference.

1
Enter the sheet name

On the sheet containing the link, enter C1234C in cell A1, or use another cell that contains the exact destination sheet name.

2
Build the link

In a different cell, enter =HYPERLINK("#'"&A1&"'!A1",A1). This links to cell A1 on the sheet named in the source cell and displays the sheet name as the link text.

3
Test the destination

Click the new hyperlink and check that Excel opens cell A1 on the intended worksheet. Change the final A1 inside the link target if you need a different destination cell.

Quote the Worksheet Name in the HYPERLINK Formula
Sheet names containing apostrophes: If the sheet name contains an apostrophe, escape it in the reference by doubling it. For a name stored in A1, use =HYPERLINK("#'"&SUBSTITUTE(A1,"'","''")&"'!A1",A1).
Create worksheet links in WPS

Create a Quoted Worksheet Hyperlink in WPS Spreadsheet

Use a HYPERLINK formula in WPS Spreadsheet to build a link to a named worksheet, then test the destination before sharing the file.

  1. 1. Open the workbook: Open WPS Spreadsheet and choose File > Open to select your workbook.
  2. 2. Enter the sheet name: On the source sheet, enter the destination tab name in cell A1.
  3. 3. Create the link: In another cell, enter =HYPERLINK("#'"&A1&"'!A1",A1), adjusting the destination cell if needed.
  4. 4. Test and save: Click the hyperlink to test it, then choose File > Save or Save As to save the workbook.
Create links to cells on other worksheets using a quoted sheet nameOpen and save Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does one worksheet hyperlink work while another reports an invalid reference?

Excel may interpret a sheet name that resembles a cell or column reference differently. Check the exact tab name and put single quotes around it in the link target, as in =HYPERLINK("#'C1234C'!A1","Open sheet").

How do I link to a worksheet name stored in a cell?

If A1 contains the sheet name, enter =HYPERLINK("#'"&A1&"'!A1",A1) in another cell. The link opens cell A1 on the named sheet.

What if the worksheet name contains an apostrophe?

Double the apostrophe in the reference. If the name is in A1, use =HYPERLINK("#'"&SUBSTITUTE(A1,"'","''")&"'!A1",A1) to escape it automatically.

Will renaming a worksheet update my HYPERLINK formula?

Not necessarily. If the sheet name is stored as text in the formula or in a source cell, edit that text after renaming the sheet and test the link.