Lock just the row or column

Fill and fixed references · About 5 minutes

Lock just the row or column

When a formula fills across a table, down and to the right, you often want to lock only half a reference. $A2 locks the column: it always uses column A, but the row still moves. B$1 locks the row: it always uses row 1, but the column still moves.

Exercise 1 of 3 · Worked example

Row 1 holds sales tax rates of 5%, 6% and 8%. In B2, type =$A2*B$1. It will be filled across and down to D6.

ABCD
1Price ($)0.050.060.08
220 (answer cell)
345
480
5120
6250

Questions people ask

What is a mixed reference in Excel?

A reference with one $, so only half of it is fixed. $A1 keeps column A and lets the row change. A$1 keeps row 1 and lets the column change.

When should I use a mixed reference instead of $A$1?

When one formula fills both down and across, like a price-by-rate table. Each input needs only its row or its column fixed.

How do I make a multiplication table with one formula?

With numbers down column A and across row 1, type =$A2*B$1 in B2, then fill it across and down.

What order does F4 go through?

Each press moves to the next type: A1, $A$1, A$1, $A1, then back to A1.

Theme