What you will learn
- Lock only a column with $A2
- Lock only a row with B$1
- Fill a whole table with one formula
How it works
In =$A2*B$1, the $ before A keeps column A. The $ before 1 keeps row 1.
Copy it anywhere in the table and it always multiplies the row number by the column number.
Formulas at a glance
=$A2*B$1 | times table |
Example
Write the formula for 1 × 1 that you can copy across and down.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | × | 1 | 2 | 3 | 4 | 5 |
| 2 | 1 | |||||
| 3 | 2 | |||||
| 4 | 3 | |||||
| 5 | 4 | |||||
| 6 | 5 |
Click B2 and type =$A2*B$1, then press Enter.
The answer is 1.
When to use it
- Times tables and price grids
- Tables where each row and each column has its own number
- Filling a whole grid with one formula
Common mistakes
- Locking both parts with $A$1Then nothing moves. Lock only the part that must stay.
- Putting the $ on the wrong side$A2 locks the column. A$2 locks the row.
- Copying only down or only acrossMixed references are made for copying in both directions.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.