Excel Case Take the free check

Absolute references ($A$1) in an Excel test

By Excel Case · Updated

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: RegionB: SalesC: Share
2North12,00030.0%
3South8,00020.0%
4East5,00012.5%
5West15,00037.5%
6Total40,000100.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: ProductB: PriceC: +0%D: +5%E: +10%
2Desk250250.00262.50275.00
3Chair9090.0094.5099.00
4Lamp4040.0042.0044.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

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.

Start the free check

Keep practising