Reference Another Sheet in Excel — The ! Formula, With Examples
Learn how to reference another sheet in Excel: the ! syntax, ranges, other workbooks, 3D sums, and jumping to a sheet.
Read Guide →You wrote a formula that works in the first row, copied it down, and the answers went wrong. The prices are right, the quantities are right — but the tax rate moved. It was in one cell, and now it is in a different cell on every row, pointing at empty cells and turning the answers to 0. The fix is one character, the dollar sign, in front of the part of the reference that should not move. This guide shows you the failure first, with real numbers, then the four reference types in one table, the F4 key that does the typing for you, and the multiplication table that proves the mixed references work — plus the mistake everyone makes next, locking too much.
Quick takeaway: one $ locks one thing — column, row, or both.
$A$1 locks both — the cell never moves.$A1 locks the column only — the row still moves.A$1 locks the row only — the column still moves.A1 locks nothing — both move. This is the default.
The tax rate 1.17 (17% tax) sits in cell D1. Prices are in column B. The formula in C2 is =B2*D1, and you copy it down.
| Price (B) | Formula (C) | What Excel actually calculates | Result |
|---|---|---|---|
| 100 | =B2*D1 | 100 × 1.17 | 117 |
| 250 | =B3*D2 | 250 × (empty D2) | 0 |
| 400 | =B4*D3 | 400 × (empty D3) | 0 |
The first row is right: 100 × 1.17 = 117. The second row is wrong: the formula moved to =B3*D2, and D2 is empty — Excel treats a blank as 0 in multiplication, so 250 × 0 = 0. The third row is wrong the same way. The B reference was supposed to move (each row has its own price). The D1 reference was not supposed to move — the rate is one cell, and it should stay put on every row. That is what an absolute reference is for. This is the same blank-as-zero lesson as in the multiplication formula guide, and the same fix as in the how to copy formula guide — this article teaches the fix properly.
=B2*$D$1
The $ before the D locks the column. The $ before the 1 locks the row. Together, $D$1 never moves, no matter where the formula is copied.
| Price (B) | Formula (C) | What Excel actually calculates | Result |
|---|---|---|---|
| 100 | =B2*$D$1 | 100 × 1.17 | 117 |
| 250 | =B3*$D$1 | 250 × 1.17 | 292.50 |
| 400 | =B4*$D$1 | 400 × 1.17 | 468 |
Check it: 250 × 1.17 = 292.50. 400 × 1.17 = 468. The B reference moved to each row’s price, and $D$1 stayed exactly where it was. One character, twice, and the whole column is fixed.
| Reference | Example | What moves when copied | When to use it |
|---|---|---|---|
| Relative | B2 | Both row and column move | The value that changes per row or column — the price, the quantity |
| Absolute | $B$2 | Nothing moves | The value that never changes — a tax rate, a discount, an exchange rate |
| Mixed (column locked) | $B2 | Row moves, column stays | Copying across and down, the column must stay — see the multiplication table below |
| Mixed (row locked) | B$2 | Column moves, row stays | Copying across and down, the row must stay — see the multiplication table below |
The rule: put a $ in front of the part that should not move. No $ on the part that should move. That is all there is to it.
You do not have to type the $ signs by hand. While you are editing a formula, click inside the reference you want to lock and press F4. Excel cycles through all four types:
D1 → press F4 → $D$1 (locks both)$D$1 → press F4 → D$1 (locks the row only)D$1 → press F4 → $D1 (locks the column only)$D1 → press F4 → D1 (back to relative)Stop pressing when you see the type you need, then press Enter.
On a Mac: press Fn+F4, or Cmd+T on newer Excel for Microsoft 365 builds. The cycle is identical; only the key combination differs.
In Excel for the web: F4 usually works in Chrome and Edge. If the browser intercepts it, type the dollar signs manually.
Mixed references are for when a formula is copied both down and across, and one direction must stay fixed while the other moves. The proof is a multiplication table, built with one formula.
Numbers 2 to 6 run down column A (A2:A6) and across row 1 (B1:F1). One formula in B2, copied across to F2 and down to F6:
=$A2*B$1
$A2 locks the column (A) but lets the row move — as the formula goes down, A2 becomes A3, A4, and so on.B$1 locks the row (1) but lets the column move — as the formula goes right, B$1 becomes C$1, D$1, and so on.| B | C | D | E | F | |
|---|---|---|---|---|---|
| 2 | 4 | 6 | 8 | 10 | 12 |
| 3 | 6 | 9 | 12 | 15 | 18 |
| 4 | 8 | 12 | 16 | 20 | 24 |
| 5 | 10 | 15 | 20 | 25 | 30 |
| 6 | 12 | 18 | 24 | 30 | 36 |
Check the corners: top-left B2 is $A2*B$1 = 2 × 2 = 4. Top-right F2 is $A2*F$1 = 2 × 6 = 12. Bottom-left B6 is $A6*B$1 = 6 × 2 = 12. Bottom-right F6 is $A6*F$1 = 6 × 6 = 36. One formula, twenty-five answers, and every one of them is right because each part moves exactly as far as it should and no further.
| Situation | Lock it? | Why |
|---|---|---|
| A tax rate, discount, exchange rate or bonus percentage in one cell | Yes — $D$1 | Every row uses the same rate |
| The price or quantity on the same row as the formula | No — B2 | Each row has its own price |
| A lookup table that never moves | Yes — $A$2:$B$10 | The table stays put while the lookup value changes |
| A running total that should grow row by row | No — and use a mixed reference, B$2:B2 | The start stays, the end grows (see below) |
| A formula you will never copy anywhere | Does not matter | Nothing moves, so nothing needs locking |
The running-total trick deserves one line: =SUM(B$2:B2) in C2, copied down, becomes =SUM(B$2:B3) in C3 and =SUM(B$2:B4) in C4. The start of the range is locked to row 2, the end moves with the row — so the total grows by one row each time. That is a mixed reference doing real work.
The dollar sign in $D$1 has nothing to do with money. It is a lock. The dollar sign you see in a cell formatted as $117.00 is currency formatting — it changes how the number looks, not what it is. A cell can hold $D$1 as a locked reference and display as $117.00 as currency, and the two $ signs mean completely different things. If you are locking a cell, you are using the formula $. If you are showing money, you are using the format $.
| Mistake | What happens | Fix |
|---|---|---|
You locked nothing — =B2*D1 | The rate moves down with the formula and the answers become 0 | Lock it: =B2*$D$1 |
You locked everything — =$B$2*$D$1 | Every row gives the same answer — the price never moves to the next row | Lock only the rate: =B2*$D$1 |
You locked the column but not the row — =B2*D$1 | Copying down still moves the rate (D1 becomes D2) | Lock both: $D$1 |
You locked the row but not the column — =B2*$D1 | Copying across moves the rate to the next column | Lock both: $D$1 |
| You pressed F4 and nothing happened | On a laptop, F4 may need Fn, or the browser took it | Use Fn+F4 (or Cmd+T on a Mac), or type the $ signs by hand |
| You locked a reference in a formula you never copy | Nothing breaks — but the $ signs confuse the next person who reads it | Lock only what will actually be copied |
| You copied the formula to another sheet | The $ locks the cell on the original sheet, not the new one | Copy the rate cell too, or point the formula at the new sheet’s rate |
How do I keep a cell constant in an Excel formula? Put a dollar sign before the column letter and the row number: $D$1 instead of D1. The reference never moves when the formula is copied.
What is the difference between $A$1, $A1 and A$1? $A$1 locks both — nothing moves. $A1 locks the column only — the row still moves. A$1 locks the row only — the column still moves. A1 locks nothing — both move.
Why is $ used in an Excel formula? The $ locks a reference so it does not shift when the formula is copied. It has nothing to do with money — that is currency formatting, a different thing.
How do I lock a cell with F4? While editing the formula, click inside the reference and press F4. Each press cycles: D1 → $D$1 → D$1 → $D1 → D1. Stop when you see the type you need.
How do I keep a row constant but let the column change? Use A$1 — the $ before the 1 locks the row, and the column is free to move.
How do I keep a column constant but let the row change? Use $A1 — the $ before the A locks the column, and the row is free to move.
Does F4 work on a Mac? Yes — press Fn+F4, or Cmd+T on newer Excel for Microsoft 365. The cycle is the same.
Should I lock every reference in my formula? No. Lock only the cells that must not move — a rate, a table, a fixed input. Locking everything gives every row the same answer.
That is the whole method: a $ in front of the part that should not move, and nothing in front of the part that should. It works for a tax rate in one cell, a lookup table that never moves, and a multiplication table built from a single formula, and the only cases that need extra care are locking too much — which freezes the price as well as the rate — and the F4 key on a laptop or a Mac, where Fn or Cmd+T does the job instead. Try it on your own sheet now, with the tax-rate table above, and when the formula you are locking is one you will copy down a long column, the next guide to read is the how to copy formula guide — it is the same copying, taught from the other side, with the fill handle, Ctrl+D and Paste Special.
Learn how to reference another sheet in Excel: the ! syntax, ranges, other workbooks, 3D sums, and jumping to a sheet.
Read Guide →Excel formula bar not showing? Get it back in 5 seconds with the View tab, Options, a keyboard shortcut, or VBA.
Read Guide →Your Excel formula is not calculating? Match the symptom to the fix: Manual mode, Text format, Show Formulas, apostrophe, circular reference and...
Read Guide →