Lesson 6
16 min
Understand A1, $A$1 and $A1 to copy formulas without errors.
Definition
A cell reference is the address (column + row, for exampleB2) that a formula uses to read the value of another cell. A reference is calledrelative when it adapts automatically as the formula is copied elsewhere, and absolute when it is locked with the$ symbol so that it always points to the same cell, wherever the formula is copied.
By default, when you copy a formula to other cells, Excelautomatically adapts the references according to the move. This is what is called a relative reference, the most common and most useful behavior, because it lets you write a single formula and apply it to hundreds of rows in a second.
To really understand this mechanism, you need to change your point of view: Excel doesn't really remember "cell A2", it remembers a relative position. In the formula =A2*B2 written in C2, Excel actually remembers "the cell located two columns to the left, on the same row" multiplied by "the cell located one column to the left, on the same row". When you copy the formula one row down, these relative positions are preserved, and the references therefore automatically become A3 and B3.
In C2: =A2*B2
If you copy this formula down to C5, Excel automatically adapts it:
C2: =A2*B2
C3: =A3*B3
C4: =A4*B4
C5: =A5*B5
The same principle applies when copying to the right or to the left: it is then thecolumn letter that adapts, not the row number. And if you copy both down and to the right, both components of the reference change at the same time, each according to the direction of the move.
In B10: =B9*1.1
If you copy to the right up to E10, Excel adapts it:
B10: =B9*1.1
C10: =C9*1.1
D10: =D9*1.1
E10: =E9*1.1A simple way to remember the rule: the reference "follows" the formula. If the formula moves down three rows, all the relative references it contains also move down three rows. If it moves two columns to the right, the references also shift two columns to the right.
This automatic behavior becomes a problem when a formula must always point to the same cell, whichever row it is copied to, for example a single VAT rate stored in one cell and used by all the rows of a table. The danger of this mistake is that it doesn't always produce a warning: Excel calculates without complaint using an empty cell, which gives zero, and the result simply looks wrong or, worse, plausible.
If the VAT rate is in B1, and in D2 you write:
=C2*B1
When copying down, Excel ALSO shifts B1:
D2: =C2*B1
D3: =C3*B2 ← ERROR: B2 is empty, the calculation is wrong!
D4: =C4*B3 ← ERROR tooThe $ symbol "locks" a reference so that it doesn't move when copied, whether it is the column, the row, or both at once. It is placed right in front of the part to freeze: the$ in front of the letter locks the column, the one in front of the number locks the row.
=C2*$B$1
When copying down, $B$1 always stays the same:
D2: =C2*$B$1
D3: =C3*$B$1
D4: =C4*$B$1 ← correct, always points to the same VAT cellA1: the row and the column adapt when copying.$A$1: neither the row nor the column moves.$A1: column A stays fixed, the row adapts.A$1: row 1 stays fixed, the column adapts.To choose the right variant, ask yourself two questions before copying your formula: "should this reference change row when I go down?" and "should it change column when I go to the right?". Each "no" answer corresponds to a$ to place in front of the relevant part of the reference.
Mixed references are very useful for building a multiplication tableor a simple two-way table, where the same formula is copied both down and to the right.
Multiplication table: the numbers from 1 to 5 are in A2:A6 (column)
and in B1:F1 (row). In B2:
=$A2*B$1
- $A2: column A never moves (always the same column of numbers)
- B$1: row 1 never moves (always the same row of numbers)
By copying this single formula across the whole grid B2:F6,
each cell automatically calculates the right product.Here is what happens in practice: when copying to the right, theB$1 part becomes C$1, D$1, and so on (the column changes, row 1 stays fixed), while$A2 stays locked on column A. When copying down, it's the opposite: $A2becomes $A3, $A4, etc., and B$1 doesn't move. A single formula is therefore enough to fill twenty-five cells without a single error.

Another very common case in business: a single commission rate, stored in a single cell, applied to a whole column of sales figures.
Single commission rate in $B$1: 8%
In C2 (sales in B2):
=B2*$B$1
Copied down:
C2: =B2*$B$1
C3: =B3*$B$1
C4: =B4*$B$1
(the rate always stays the same, only the sales figure changes from row to row)The advantage of this organization is obvious: if management decides to raise the commission from 8% to 10%, you only need to change a single cell for the whole column of results to update. Without an absolute reference, you would have had to rewrite each formula one by one, with a risk of forgetting or making an error on every row.
Keyboard tip
Rather than typing the $ symbols by hand, select a reference in the formula bar and press theF4 key several times: Excel automatically cycles through the 4 possible combinations (absolute, mixed with the row locked, mixed with the column locked, then back to relative), in that exact order with each press.
While typing or editing a formula, place the cursor on a reference (or select it) and press F4. Each press switches the reference to the next variant, then the cycle starts over from the beginning. On some laptops, you have to hold down theFn key at the same time. On a Mac, useCmd + T.
Start : A1 (relative)
1st press of F4 : $A$1 (absolute)
2nd press of F4 : A$1 (mixed, row locked)
3rd press of F4 : $A1 (mixed, column locked)
4th press of F4 : A1 (back to relative)Here is a case that combines both types of references in a single formula. The prices excluding VAT vary from row to row, so their reference stays relative, whereas the VAT rate is unique, so its reference becomes absolute.
VAT rate in $B$1: 20%
Prices excl. VAT in column A starting from A3.
In B3 (VAT amount):
=A3*$B$1
In C3 (price incl. VAT):
=A3+B3
Copied down, the formulas become:
B4: =A4*$B$1 C4: =A4+B4
B5: =A5*$B$1 C5: =A5+B5
(A3, A4, A5 change because they are relative; $B$1 never changes)Within a single formula, nothing stops you from mixing relative and absolute references: each reference is treated independently, depending on whether or not the$ symbol is in front of its letter and its number.
A formula can also read a cell located in another sheet of the workbook, by putting the sheet name followed by an exclamation mark in front of the reference. The rules seen in this lesson apply in exactly the same way: the part after the exclamation mark can be relative, absolute or mixed. If the sheet name contains spaces, it must be placed between single quotes, for example 'Tax Rates'!$B$1.
=Settings!$B$1 → absolute reference to cell B1 of the "Settings" sheet
=C2*Settings!$B$1 → multiplies C2 by the rate stored in the other sheetThis is an excellent organizational practice: you group your rates, your scales and your constants in a dedicated sheet, then use them in all the other tabs with absolute references or named ranges. The workbook's settings thus stay centralized and easy to change.
Relative references only adapt when the formula is copied elsewhere. If you cut a formula withCtrl + X then paste it somewhere else, its references stay unchanged: it keeps pointing to the same cells as before. Conversely, if you cut and paste a cell that is referenced by other formulas, those formulas are automatically updated to follow the cell to its new address.
$ freezes the row instead of the column, and vice versa.#REF!. Inserting rows or columns around it is safe, because references adjust automatically, but keep your reference rate in a clearly labeled place.To check a copied formula, click a cell at the bottom of the column and pressF2: the references are then colored and outlined on the sheet, which lets you check at a glance that they point to the right cells.
A named range (created via the Name Box or Formulas > Define Name) automatically behaves like an absolute reference, but with an explicit name rather than a cryptic reference full of $ symbols.
Defined name: "VATRate" for cell B1
Instead of: =C2*$B$1
You write: =C2*VATRate
→ More readable, especially in long, complex formulas.A name can't contain spaces and must not look like a cell reference (such as AB12). Use simple words joined together or linked by an underscore, for exampleDiscount_Rate. Another advantage: a name stays understandable when you reread the formula, whereas a reference like $B$1 forces you to go and see which cell it designates.
In summary
Use a relative reference by default (the natural behavior), switch to absolute$A$1 as soon as a single value must stay fixed for all the copied rows or columns, and think about named ranges for the reference values you use very often in your workbook.
Mixed references are mostly useful for formulas copied in both directions. Finally, the F4 key lets you quickly switch from one type to another without ever typing a$ by hand.
Practical exercise
$. Copy the formula down several rows to check that it stays correct, then change the rate to see the whole column update. Finally, test the same formula without the$ to observe the error.Going further
F4 key to cycle a single reference through its four variants and note what changes with each press.