Home › Excel basics › Absolute references ($A$1)
Absolute vs. Relative References in Excel ($A$1 Explained)
When you copy a formula, Excel adjusts its cell references automatically. Usually that's what you want, but sometimes a reference must stay fixed. That's what the dollar signs in $A$1 are for.
In this guide
Relative, absolute and mixed references
| Reference | Type | When you copy the formula… |
|---|---|---|
A1 | Relative | Both column and row change. |
$A$1 | Absolute | Nothing changes: it always points to A1. |
$A1 | Mixed | The column stays A, the row changes. |
A$1 | Mixed | The row stays 1, the column changes. |
The dollar sign "locks" whatever comes right after it: the column letter, the row number, or both.
Relative references: the default
Type =B2*C2 in D2 and copy it down. In D3 it becomes =B3*C3, in D4 =B4*C4. Excel keeps the same relative position: "the two cells to my left". That's exactly right for calculating each row.
Absolute references: lock a cell
Now say every price needs 21% VAT, and the rate is in one cell, F1.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Product | Price | VAT | VAT rate | 21% | |
| 2 | Desk | 200 | 42 | |||
| 3 | Chair | 80 | 16.8 | |||
| 4 | Lamp | 35 | 7.35 |
Copied down, B2 becomes B3 and B4, but $F$1 stays $F$1. Without the dollar signs, row 3 would calculate =B3*F2, an empty cell, and return 0.
You'll use this all the time in lookups too: =VLOOKUP(E2, $A$2:$C$7, 3, FALSE) keeps the table in place while E2 moves down. See VLOOKUP.
The F4 shortcut
Click on a reference in the formula bar (or right after typing it) and press F4 to cycle through the four types: A1 → $A$1 → A$1 → $A1 → back to A1. On a Mac, press Cmd+T. On some laptops you need Fn+F4.
Mixed references: a multiplication table
Mixed references shine when you copy a formula both down and across. With the numbers 1–5 in A2:A6 and B1:F1, put this in B2 and copy it to the whole grid:
=$A2*B$1$A2 always takes the row header from column A; B$1 always takes the column header from row 1. One formula fills the entire table correctly.
Alternatives: names and tables
- Named cells: select F1, type
VATratein the Name Box (left of the formula bar) and press Enter. Then write=B2*VATrate. Names are always absolute and easier to read. - Excel tables (Ctrl+T) use column names like
=[@Price]*0.21, so you rarely need dollar signs.
Looking to stop people from editing cells? That's sheet protection, not $ signs: see lock cells and protect a sheet.
Frequently asked questions
What does the $ sign mean in Excel?
It locks the column or row that follows it, so the reference doesn't change when you copy the formula. $A$1 locks both.
What is the shortcut for absolute references?
F4 on Windows (Fn+F4 on some laptops) and Cmd+T on a Mac. Press it repeatedly to cycle through the reference types.
Why does my formula return 0 or wrong values after copying?
A reference that should have stayed fixed moved along. Add dollar signs to the cell that must stay the same, such as a rate or a lookup table.
Does the dollar sign have anything to do with currency?
No. In a cell reference it only locks the column or row. Currency is set with number formatting.