Sub topic 16
Referring to Cells on Other Worksheets
This chapter assumes you can open a workbook, move between sheet tabs, type a formula that starts with =, and read a cell address such as B4. You should also know the difference between a workbook and a worksheet. Here you will learn how a formula points at a cell on another worksheet, how to type or click that reference, and which errors to expect.
Why reference another sheet
A workbook often splits data across sheets. One sheet might hold raw sales for each quarter, and another might hold a summary. A formula on the summary sheet can read the quarterly numbers directly. When a source number changes, the summary updates with it. You do not copy and paste values, so the two places cannot drift apart.
The anatomy of a sheet reference
A reference to another sheet has three parts: the sheet name, an exclamation mark, and the cell address.
=Sales!B4This returns the value in cell B4 on the worksheet named Sales. The exclamation mark separates the sheet from the cell.
A reference to the current sheet needs no sheet name. =B4 means "B4 on this sheet." Excel adds the sheet name only when the target is on a different sheet.
| Part | Example | Meaning |
|---|---|---|
| Sheet name | `Sales` | The tab name of the target worksheet |
| Separator | `!` | Divides the sheet name from the address |
| Address | `B4` or `B2:B10` | One cell or a range on that sheet |
Sheet names with spaces and special characters
If a sheet name contains a space or a special character, you must wrap it in single quotes. The quotes go around the sheet name only, before the exclamation mark.
='Q1 Sales'!B4Without the quotes, Excel cannot tell where the name ends, and the formula is rejected or misread. Names that need quotes include:
- Names with spaces, such as
Q1 Sales. - Names with punctuation, such as
R&DorCosts-2026. - Names that start with a digit, such as
2026. - Names that look like a cell address, such as
AB12.
A name made only of letters, digits, and underscores that starts with a letter, such as Sales or Jan_Data, does not need quotes. Excel adds quotes for you when you build the reference by clicking. Quoting is only a problem when you type a reference by hand.
A name that contains an apostrophe is a special case. Excel doubles the apostrophe inside the quoted name. A sheet called Bob's Data is written as 'Bob''s Data'!A1. Avoiding apostrophes in sheet names saves trouble.
Referring to a range
A range works the same way. Put the sheet name in front of the range address, and use it as a function argument.
=SUM('Q1 Sales'!B2:B10)This adds the cells B2 through B10 on the Q1 Sales sheet. The sheet name applies to the whole range. You do not repeat it for the second cell.
Building a reference by clicking
Typing sheet names invites typos. Pointing is safer.
- Select the cell where the formula will go, for example
B2on theSummarysheet. - Type
=to start the formula. - Click the sheet tab of the source sheet. You can also press Ctrl+PageDown or Ctrl+PageUp to switch tabs.
- Click the source cell, or drag across a range.
- Press Enter.
Excel writes the sheet name, the quotes if needed, and the address. The formula bar shows the result. While you are building the formula, the Summary sheet stays as the destination. Pressing Enter returns you to it.
If you type a function first, such as =SUM(, you can still click another tab and select the range. Excel inserts the reference inside the function.
Linking back and forth
A sheet reference is live. Suppose Summary!B2 contains ='Q1 Sales'!B4. If someone changes B4 on Q1 Sales, Summary!B2 recalculates at once.
References can also go in both directions. The Summary sheet can read from Q1 Sales, and Q1 Sales can read from Summary. Avoid a loop where two cells depend on each other. That creates a circular reference, and Excel warns you.
Jumping to another sheet with a hyperlink
A formula can also move you to another sheet. The HYPERLINK function takes a location and a label. A location that starts with # refers to a place inside the current workbook.
=HYPERLINK("#'Summary'!A1","Go to Summary")Clicking the cell jumps to A1 on the Summary sheet. The text inside the first argument is a string, so the quotes around Summary are typed inside the double quotes. This is useful for a contents page at the front of a large workbook.
What happens when sheets change
Excel keeps references pointed at the right sheet, with some limits.
- Renaming a sheet. Excel updates every formula in the workbook that refers to it. If the formula is
=Sales!B4and you rename the sheet toSales 2026, it becomes='Sales 2026'!B4. - Moving a sheet. Changing the tab order does not change a normal reference. It does matter for 3D references, which are covered in a later chapter.
- Deleting a sheet. Formulas that point at it can no longer find their target. They show
#REF!, and the formula text contains#REF!in place of the sheet name. Undo with Ctrl+Z right after the deletion. Once you save and close, the original reference is gone. - Hiding a sheet. A hidden sheet still works as a source. The formulas keep returning values.
- Copying a sheet. A copy keeps its own formulas. References to cells on its own sheet stay local to the copy. References to other sheets still point at the original other sheets.
References between workbooks
If the source is in a different file, the reference includes the workbook name in square brackets.
=[Budget.xlsx]Sales!B4This is called an external reference. When the source workbook is closed, Excel stores the full file path in the formula. These links can break if the file is moved or renamed. This chapter concentrates on references within one workbook, but you should recognize the pattern when you see it.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| `#REF!` | The target sheet or cell was deleted | Undo, or retype the reference |
| `#NAME?` | The sheet name was typed without needed quotes, or misspelled | Add single quotes and check the spelling |
| A "problem with this formula" message | Unbalanced quotes or a missing `!` | Compare the formula with the pattern `'Name'!A1` |
| Value does not change when the source changes | Calculation is set to manual | On the Formulas tab, set Calculation Options to Automatic |
| Wrong sheet used | A sheet with a similar name, such as `Sales` and `Sales2` | Check the tab name against the formula |
A quick way to check where a reference points is to select the formula cell and press F2. Excel outlines the source cells in color if they are on the same sheet. For a source on another sheet, use Ctrl+[ to jump to the precedent cell. Excel switches to that sheet and selects the cell.
Summary of the rules
- Write a reference as
SheetName!Address. - Wrap the name in single quotes if it has spaces or special characters.
- Click to build references. Typing is where most mistakes happen.
- Renaming a sheet updates formulas. Deleting a sheet produces
#REF!. - Use
HYPERLINK("#'Sheet'!A1","text")to jump to a sheet from a cell.
Exercise
A worksheet is named Region West. Write a formula that adds cells C2 through C20 on that sheet, and explain why the single quotes are needed.
Show answer
=SUM('Region West'!C2:C20). The sheet name contains a space, so Excel needs the single quotes to know where the name starts and ends. Without them the formula is invalid.
Exercise
You rename the sheet Sales to Sales 2026. A formula on another sheet was =Sales!B4. What does Excel show in that formula afterward, and what happens to it if you instead delete the Sales sheet?
Show answer
After renaming, the formula becomes ='Sales 2026'!B4, because Excel updates references automatically and adds quotes for the space. After deleting the sheet, the formula shows #REF! in place of the sheet reference, and it returns a #REF! error.
Exercise
What does the formula =HYPERLINK("#'Summary'!A1","Go to Summary") do, and what does the # at the start of the location mean?
Show answer
It shows the text "Go to Summary" in the cell. Clicking it selects cell A1 on the Summary sheet. The # means the location is inside the current workbook rather than a file or web address.