Absolute references ($A$1) in an Excel test
The dollar sign decides what moves when you copy a formula. Get it wrong and the first row is right while every row below it is wrong.
In short: $B$6 never moves when copied. B$2 keeps the row and lets the column move. $B2 keeps the column and lets the row move. Lock the cell everyone shares, such as a total or a rate. Press F4 (Fn+F4 on many laptops; Cmd+T on a Mac) to cycle through the four types.
Example 1: share of total
Brief: "Show each region as a percentage of total sales."
| A: Region | B: Sales | C: Share | |
|---|---|---|---|
| 2 | North | 12,000 | 30.0% |
| 3 | South | 8,000 | 20.0% |
| 4 | East | 5,000 | 12.5% |
| 5 | West | 15,000 | 37.5% |
| 6 | Total | 40,000 | 100.0% |
Type =B2/B6 in C2 and fill down. C2 is right. C3 becomes =B3/B7, which divides by an empty cell, so you get #DIV/0!.
The fix is =B2/$B$6. The total stays put while the region moves.
Worse than an error: if B7 happened to hold a number, you would get a wrong percentage with no error at all. A quick check catches both. The shares must add up to 100%.
Example 2: a grid with one formula
Brief: "Show each product's price under a 0%, 5% and 10% increase."
| A: Product | B: Price | C: +0% | D: +5% | E: +10% | |
|---|---|---|---|---|---|
| 2 | Desk | 250 | 250.00 | 262.50 | 275.00 |
| 3 | Chair | 90 | 90.00 | 94.50 | 99.00 |
| 4 | Lamp | 40 | 40.00 | 42.00 | 44.00 |
The increases (0%, 5%, 10%) sit in row 1, C1 to E1. In C2 type:
=$B2*(1+C$1)
Then fill right and down. $B2 always reads the price column but moves down rows. C$1 always reads the increase row but moves across columns. One formula fills the whole grid.
How to check fast
- Click the bottom-right cell and press F2. Do the references point where you expect?
- Use Ctrl+` (the key left of 1) to show every formula. A filled range should look the same on every row except for the moving parts.
- Check one cell by hand. Lamp at +10% is 40 × 1.1 = 44.
Questions people ask
What does $ mean in an Excel formula?
It locks the part after it. $A locks the column, $1 locks the row, and $A$1 locks both, so the reference doesn't change when the formula is copied.
What is a mixed reference?
A reference with one part locked, like $A2 or A$2. It's what lets one formula fill a whole two-way grid.
Do Excel Tables need $?
Table references like [@Sales] don't shift when filled down, but a reference to a single total cell outside the table still needs $.
Now try one that marks itself
The free check gives you an email, a messy export and 10 minutes. It re-runs your formulas on data you haven't seen and shows what broke.