Chapter 3 · Simulation

Excel: Relative, Absolute and Mixed References

← Chapter 3
B2fx

Cell references

Goal: See how cell references change when a formula is copied right or down with the fill handle.

NotationTypeWhen copied
A1Relativeboth column and row shift
$A$1Absolutenever changes
A$1Mixedrow locked, column letter shifts
$A1Mixedcolumn locked, row number shifts

How to use it

  1. Pick a preset formula or type your own for B2. Function names are the English ones (SUM, AVERAGE, MAX, MIN, PRODUCT, COUNT) and arguments are separated with ,.
  2. With the cursor on a reference, press F4 (or the F4 button): A1 → $A$1 → A$1 → $A1 → A1.
  3. Copy the formula with Right ▸ and Down ▾. Click a cell to see its formula, its result and why each reference changed; the referenced cells get a coloured dashed outline.
  4. Try it yourself: predict what the copied formula will be in the target cell; the page checks your answer and keeps score.

The numbers in row 1 (B1:F1) and column A (A2:A7) are data; an empty cell counts as 0. If a reference shifts off the sheet (left of A or above row 1), you get a #REF! error, just like in Excel.

Related slides: Chapter 3.2 · Microsoft Excel.