Sub topic 10
Absolute References to Another Sheet
This chapter assumes you can already write a formula with $ signs, such as =A2*$E$1, and that you know relative, absolute, and mixed references. You should also be able to fill a formula down a column. Here you will apply that skill across sheets. Keeping inputs on a separate sheet is common in real workbooks, and it brings a few behaviors you won't see on a single sheet.
Why put a fixed value on another sheet
A single input cell, such as a tax rate, works well beside your data. As a workbook grows, that cell can get in the way. It might sit in a column you want to sort, or someone might delete the row it is in. Many people move inputs like these to a dedicated sheet, often called Settings, Config, or Rates.
The formulas on your working sheet then point to that sheet. The $ signs work the same way as before. The only addition is a sheet name in front of the cell address.
The syntax of a cross-sheet reference
A reference to a cell on another sheet has two parts, joined by an exclamation mark:
SheetName!CellAddressFor example, Settings!B1 means cell B1 on the sheet named Settings. To make it absolute, put the dollar signs on the cell address only:
Settings!$B$1The sheet name is never prefixed with $. It is not a row or column, so it does not move when you copy the formula. A reference that includes a sheet name keeps pointing to that sheet wherever you paste it.
Sheet names with spaces or symbols
If the sheet name contains a space, a hyphen, or other special characters, wrap it in single quotes:
='Tax Settings'!$B$1A name that starts with a digit also needs quotes. If the name itself contains an apostrophe, double it inside the quotes, so a sheet called Bob's Rates becomes 'Bob''s Rates'!$B$1. When you click a cell on another sheet while typing a formula, Google Sheets adds the quotes for you. Clicking is the safest way to avoid typos.
Worked example: a price list with the rate on a Settings sheet
Suppose you have two sheets.
The Settings sheet holds the rate:
| Cell | Content |
|---|---|
| A1 | Tax rate |
| B1 | 0.2 |
The Orders sheet holds prices:
| Cell | Content |
|---|---|
| A1 | Price |
| B1 | Tax |
| A2 | 50 |
| A3 | 80 |
| A4 | 120 |
In Orders!B2, enter:
=A2*Settings!$B$1Fill the formula down to B4 with the fill handle, or double-click the handle to autofill as far as the adjacent data goes. The result is:
| Cell | Formula after filling | Result |
|---|---|---|
| B2 | `=A2*Settings!$B$1` | 10 |
| B3 | `=A3*Settings!$B$1` | 16 |
| B4 | `=A4*Settings!$B$1` | 24 |
The price reference A2 is relative and moves down one row at a time. The rate reference Settings!$B$1 is absolute and stays put. To change the tax rate for every row, you edit one cell on Settings.
The diagram shows the relationships. Each tax cell reads its own price and the same shared rate.
What happens if you forget the dollar signs
The $ signs matter on another sheet as much as on the same sheet. Consider this version:
=A2*Settings!B1After filling down, the formulas become:
| Cell | Formula | Problem |
|---|---|---|
| B2 | `=A2*Settings!B1` | Correct, reads 0.2 |
| B3 | `=A3*Settings!B2` | Reads an empty cell, result 0 |
| B4 | `=A4*Settings!B3` | Reads an empty cell, result 0 |
The sheet name does not protect the reference from shifting. The cell part follows the same relative rules as always, so B1 drifts to B2 and B3 on the Settings sheet. The first row looks right, which makes this error easy to miss. When you check a filled formula, look at the last row as well as the first.
Locking a range on another sheet
You can lock a whole range on another sheet in the same way. A common case is a lookup table kept on a Rates sheet:
=VLOOKUP(B2, Rates!$A$2:$B$10, 2, FALSE)When you fill this formula down, B2 becomes B3, B4, and so on, so each row looks up its own key. Rates!$A$2:$B$10 stays the same in every row.
Two details are worth knowing:
- The sheet name appears once, before the range. You do not repeat it for the second corner. Writing
Rates!$A$2:Rates!$B$10is not needed. - Each corner of the range is locked with its own pair of
$signs. Lock both corners, or the range can shrink or slide as you fill.
The same pattern works for summing a column that lives on another sheet:
=SUMIF(Sales!$A$2:$A$100, D2, Sales!$B$2:$B$100)Here the criteria cell D2 is relative and changes row by row. Both ranges point at Sales and stay locked.
Mixed references across sheets
Mixed references also work with a sheet name. Suppose a Rates sheet has regions down column A and years across row 1, and you want a grid on another sheet that reads from it. A formula like this locks the column and lets the row move:
=Rates!$A2And this locks the row and lets the column move:
=Rates!B$1You can combine them, for example =Rates!$A2*Rates!B$1, to build a two-way calculation from headers stored on another sheet. The rules are unchanged from the same-sheet case. The $ before a letter locks the column, and the $ before a number locks the row.
What happens when sheets change
Cross-sheet references respond to structural changes in ways that are worth knowing about before you rely on them.
Renaming a sheet
If you rename Settings to Config, Google Sheets updates every formula that referred to it. =A2*Settings!$B$1 becomes =A2*Config!$B$1 automatically. You do not need to edit formulas by hand.
Inserting or deleting rows and columns
An absolute reference is locked against copying and filling. It is not locked against inserting or deleting rows. If you insert a new row above row 1 on Settings, the rate moves to B2, and every formula that pointed to Settings!$B$1 updates to Settings!$B$2. The formula keeps following the same cell. If you delete the row that holds the rate, the formulas show #REF!, because the cell no longer exists.
Deleting the sheet
Deleting Settings leaves every formula that referred to it with a #REF! error. Undoing the delete restores the references. Because many formulas can depend on one input sheet, consider protecting it. Use Data > Protect sheets and ranges to guard against accidental deletion.
Copying formulas between sheets
When you copy a formula that contains a sheet name, the name travels with it, so Settings!$B$1 still points to Settings wherever you paste it. A reference with no sheet name behaves differently. If you copy =A2*$E$1 onto another sheet, it now refers to $E$1 on the sheet you pasted into, not to the original sheet. This is a frequent cause of results that are suddenly zero after a paste.
Duplicating a sheet
The same rule applies when you duplicate a sheet. In the copy, a formula such as =A2*$E$1 points to $E$1 on the copy. A formula such as =A2*Settings!$B$1 still points to the original Settings sheet. This is usually what you want for a shared settings sheet. It is a surprise if you meant for the copy to have its own separate inputs.
References written as text do not adjust
Some functions take a reference as a text string. Two examples are INDIRECT and IMPORTRANGE:
=INDIRECT("Settings!B1")Inside the quotes, Settings!B1 is plain text, not a reference. Google Sheets does not shift it when you fill the formula, and it does not update the text if you rename the sheet. After a rename, this formula returns #REF! until you edit the string. Dollar signs inside the quotes have no copy-related effect either, because the text never changes as you fill.
If you need the text to vary by row, build it with &. For example, =INDIRECT("Settings!B"&ROW()) returns the value from the same row number on Settings. Use this deliberately, because formulas built from text are harder to audit than normal references.
Similarly, IMPORTRANGE reads from a different spreadsheet file. Its second argument is a text string, so it is outside the $ mechanism entirely:
=IMPORTRANGE("https://docs.google.com/spreadsheets/d/your-file-id", "Settings!B1")Replace the URL with the address of your own file. The first time you use it, Sheets asks you to allow access between the two files. For a fixed input from another file, a common approach is to bring it in with IMPORTRANGE into one cell on a local sheet. Then reference that cell with an ordinary absolute reference.
Troubleshooting checklist
When a formula that uses another sheet gives wrong results after copying, check these in order:
- Click the last filled cell and read its formula. Does the cell address after the
!still match the first one? - Check that both corners of a range carry
$signs. - Check that the sheet name is spelled correctly and has quotes if it contains spaces.
- Look for
#REF!. It points to a deleted sheet, row, or column. - Look for unexpected zeros. They often mean a reference drifted onto an empty cell, or an unqualified reference was pasted onto a different sheet.
- Check whether any part of the formula is a text string, as with
INDIRECT. That part will not follow copy or rename changes.
Choosing between a local input cell and another sheet
| Situation | Better choice |
|---|---|
| Small sheet, one or two inputs, one author | Input cell on the same sheet |
| Many sheets share the same rate | Input on a Settings sheet with `Sheet!$B$1` |
| Inputs change often and others edit the file | Settings sheet, protected, with labels |
| Formulas must read clearly to other people | A named range, covered in a later chapter |
An absolute cross-sheet reference gives you one source of truth with no extra tools. Its main weakness is that Settings!$B$1 does not say what the value means. A later chapter shows how named ranges fix that.
Exercise
The sheet Orders has prices in A2:A50. The sheet Rates has a discount in B2. You write =A2*(1-Rates!B2) in Orders!C2 and fill it down to C50. Row 2 is correct, but rows 3 to 50 are wrong. What is the cause, and what is the corrected formula?
Show answer
The discount reference Rates!B2 is relative, so it becomes Rates!B3, Rates!B4, and so on, which are empty cells. Lock the cell with $ signs: =A2*(1-Rates!$B$2). The price reference A2 stays relative so each row uses its own price.
Exercise
A sheet named Tax Rates holds a lookup table in A2:B10, with product codes in column A and rates in column B. Write a formula for Orders!C2 that looks up the code in B2 and returns the rate, so that it can be filled down without the table moving.
Show answer
=VLOOKUP(B2, 'Tax Rates'!$A$2:$B$10, 2, FALSE). The sheet name needs single quotes because it contains a space. The range is locked with $ on both corners, and the lookup key B2 stays relative.
Exercise
You copy the formula =A2*$E$1 from one sheet and paste it onto a different sheet. The results are all zero. Why, and how would you prevent it?
Show answer
The formula has no sheet name, so after pasting it refers to $E$1 on the new sheet, which is empty. Prevent it by writing the reference with the sheet name, such as =A2*Settings!$E$1, so it keeps pointing at the original cell wherever it is pasted.