Most people learn Excel by copying what a colleague did: click here, drag that, and hope the number comes out right. That works until you copy a formula one row further than last time and get a column of zeros with no warning at all.

There is a smaller mental model underneath all of it. A cell holds either a value you typed or a formula that points at other cells. A formula stores those pointers as positions relative to itself, so moving the formula moves the pointers. Once you see that, Excel stops being a set of clicks and starts being predictable.

This article builds one small timesheet from an empty workbook and uses it to show the three things that decide whether your formulas work: what a cell contains, how a formula names other cells, and when to lock a reference with $.

You need Excel (Microsoft 365, Excel 2021/2024, or Excel for the web) and ten minutes. Nothing else.

What a cell holds: a value or a formula

Every cell is named by its column letter and row number: A1 is the first column, first row. That address is how formulas refer to cells.

The important distinction is between what a cell shows and what it contains.

  • Type 420 and press Enter: the cell holds the number 420. That is a value. It will never change on its own.
  • Type =B2*C2 and press Enter: the cell holds a formula. The grid shows you the result, but the formula is what's stored.

Select a cell and look at the formula bar along the top. For a typed value, the formula bar shows the same thing the cell shows. For a formula, the formula bar shows the instruction — the real contents — while the cell shows only the outcome. This is the single most useful habit in Excel: when a number looks wrong, click it and read the formula bar.

A quick way to see every formula at once: press <code>Ctrl</code>+<code>`</code> (the grave accent, above Tab). Cells switch from showing results to showing their formulas. Press it again to switch back. It's a toggle, not a command, so nothing is damaged.

Build the sheet: your first formulas

Create a new workbook and type this in, one cell at a time. Press Enter after each entry.

ABC
1PersonHoursRate
2Ada1235
3Ben835
4Chen1542
5Dana1042

Column D will hold the amount owed. In D1, type Amount. In D2, type:

1=B2*C2

Press Enter. D2 should show 420. A formula starts with =, which is how Excel knows to calculate rather than store what you typed.

Now put a total under the column. Click D7 and type:

1=SUM(D2:D6)

D2:D6 is a range: two cell addresses with a colon between them, meaning everything in that rectangle. Your total comes out as 0 for now, because D3 to D6 are still empty. That will change in the next step.

Copying a formula moves its references — usually what you want

You could retype =B3*C3, =B4*C4 and so on, but that's how typos get in. Instead, copy D2 down.

Click D2, then drag the small square at the bottom-right corner of the selection (the fill handle) down to D6. Alternatively, select D2:D6 and press <code>Ctrl</code>+<code>D</code> to fill down.

Check D7: it should now read 1750 (420 + 280 + 630 + 420). Click D4 and read the formula bar — it says =B4*C4, not =B2*C2. Excel rewrote the row numbers for you.

Copying =B4C4 from D4 to D5 rewrites it as =B5C5 — same columns, one row lower

That is what a relative reference means, and Microsoft's documentation spells out the rule: a reference is stored as a position relative to the cell holding the formula, and when you copy the formula, the reference shifts by the same amount the formula moved 1. In D2, B2 means "two columns to the left, same row." In D4, the same relative position is B4.

This is a feature, not a quirk. One formula, copied down five thousand rows, stays correct on every row — which is the entire reason spreadsheets are useful.

The silent wrong answer: when a reference should not move

Now suppose you need a second column that converts the amounts to euros, and the exchange rate lives in one place. That's where relative copying turns against you.

  1. In F1 type EUR rate, and in G1 type 0.92.
  2. In E1 type Amount (EUR).
  3. In E2 type =D2*G1 and press Enter. E2 shows 386.4 — correct.
  4. Copy E2 down to E6.

Look at the column. E3 shows 0, and so does everything below it.

Click E3. The formula bar says =D3*G2. G2 is empty, so Excel multiplies by zero. Nothing was mistyped — every step was reasonable — but you got a wrong answer with no warning, because the reference to the rate was relative and moved along with the formula.

Excel only complains when it cannot compute at all. #DIV/0! means a division by zero or an empty cell; #NAME? means it doesn't recognise something in the formula, usually a misspelled function; #REF! means the cell being pointed at no longer exists. A wrong-but-computable answer like the zeros above produces none of these. Silence is not proof of correctness.

Lock a reference with $ when it must stay put

You fix this by telling Excel that G1 is a fixed location, not a relative position. An absolute reference adds dollar signs to the parts that should never shift: $G$1.

  • G1 — both parts free (relative): moves down when copied down.
  • $G$1 — both parts locked (absolute): always points at G1.
  • $G1 — column locked, row free (mixed).
  • G$1 — row locked, column free (mixed).

So E2 becomes:

1=D2*$G$1

Copy that down and every row multiplies its own D value by the one rate in G1. The D reference still shifts row by row, because that's what you want; only the rate is frozen.

To convert an existing reference instead of retyping, select the formula cell, click the reference inside the formula bar (or put the cursor right after it while editing), and press <code>F4</code>. It cycles through the four combinations: G1, $G$1, G$1, $G1 2. One caveat from Microsoft's own tips page: this shortcut doesn't work in Excel for the web, where you type the $ signs by hand 3. Also note that F4 pressed outside a formula repeats your last action instead — a small thing that confuses people the first time it happens.

When you need the half-locked versions

Mixed references look academic until you build a small rate grid. Say column A holds the units sold by each person and row 1 holds three different rates. In B2, type:

1=$A2*B$1

Copy it right and down, and every cell multiplies its own row's units by its own column's rate: $A2 keeps the units in column A, and B$1 keeps the rate on row 1. That's the case the mixed forms exist for.

The decision rule: write a normal reference by default. The moment a formula will be copied and needs to keep reading one specific cell — a rate, a target, a threshold, a total at the top of the sheet — lock it with $.

How to check that your formulas are right

Three habits catch almost every mistake in this article:

  1. Click a copied cell in the middle of the range, not the first one. Read the formula bar and ask whether each reference points where you meant. The first cell is always right; it's the copies that drift.
  2. **Press <code>Ctrl</code>+<code></code>.** Seeing all formulas laid out side by side makes a stray G2` obvious. Press it again to return to normal view.
  3. Recompute one row by hand. 12 × 35 = 420, and after conversion 420 × 0.92 = 386.4. If a spot check matches, the pattern probably holds.

If a whole column of results is zero, identical, or wildly larger than expected, suspect a reference that moved when you copied. That single symptom explains more broken spreadsheets than any mistyped number.