Skip to main content
SingaporeComputer ScienceSyllabus dot point

Why do some cell references change when copied and others stay fixed?

Distinguish relative and absolute cell references, use the dollar sign to fix a reference, and predict how references change when a formula is copied

A focused answer to the O-Level Computing point on cell references. How relative references change when copied, how absolute references with a dollar sign stay fixed, and how to predict the result of copying a formula.

Generated by Claude Opus 4.86 min answer

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. The answer
  3. Examples in context
  4. Try this

What this dot point is asking

SEAB wants you to tell the difference between a relative and an absolute cell reference, to use the dollar sign to fix a reference, and to predict how references change when a formula is copied. The central idea is that a relative reference describes a position relative to the formula's cell and so shifts when copied, while an absolute reference is locked to one exact cell.

The answer

Relative references

A normal reference such as B2 is relative. The spreadsheet really stores it as a direction, like "one cell to the left, same row". When you copy the formula to another cell, that direction is reapplied from the new position, so the reference adjusts:

  • Copy down one row, and the row number increases by one (B2 becomes B3).
  • Copy right one column, and the column letter advances by one (B2 becomes C2).

This is what makes a single formula fill a whole column correctly.

Absolute references

Sometimes you want a reference to point at the same cell no matter where the formula is copied, for example a tax rate or an exchange rate stored once. You make a reference absolute by putting a dollar sign before the column and the row:

EE1   column E and row 1 both fixed

A ‘lockswhateverfollowsit.‘` locks whatever follows it. `E$1 never changes when copied.

Mixed references

You can fix just the column or just the row:

  • $E1 fixes the column E but lets the row change.
  • `E1‘fixestherow1` fixes the row 1$ but lets the column change.

These are useful for filling a table down and across from a single header row or column.

Predicting a copy

To work out what a copied formula becomes, apply the copy movement to each relative reference, and leave each absolute reference unchanged:

C2: =B2*EE1   copied down to C3  ->  =B3*EE1

Examples in context

Example 1. Applying one tax rate. A sales sheet stores the tax rate once in E1 and uses =B2*EE1 down a whole column of prices. Because E1 is absolute, every row uses the same rate; because B2 is relative, every row uses its own price. Changing E1 updates the whole column.

Example 2. A multiplication table. To build a times-table grid, a single formula like =A2∗BA2*B1 is filled across and down. The A‘fixestherowlabels′columnandthe‘A` fixes the row labels' column and the `1 fixes the header row, so each cell multiplies its own row label by its own column header.

Try this

Q1. State what the dollar signs do in the reference CC4. [2 marks]

  • Cue. They fix the column C and the row 44, so the reference does not change when the formula is copied.

Q2. A formula =A1*2 in cell B1 is copied down to B3. State the formula in B3. [2 marks]

  • Cue. The relative reference moves down two rows: =A3*2.

Q3. Explain when you would use an absolute reference rather than a relative one. [2 marks]

  • Cue. When a formula must always point at one fixed cell (such as a single rate or total) even after being copied to other cells.

Exam-style practice questions

Practice questions written in the style of SEAB exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

Original5 marksCell C2 contains the formula =B2*\E\11, where E1 holds a fixed tax rate. The formula is copied down into C3 and C4. (a) Write the formula that appears in C3. (b) Explain why the part \E\11 does not change but B2 does.
Show worked answer →

(a) Copying down one row turns the relative reference B2 into B3, while the absolute reference \E\11 stays fixed. So C3 contains:

=B3*EE1

(b) B2 is a relative reference, so when the formula is copied down one row it adjusts by one row to B3, then B4. \E\11 is an absolute reference: the dollar signs lock both the column E and the row 11, so it points at the single tax-rate cell no matter where the formula is copied.

Markers reward =B3*EE1, the relative reference adjusting by a row, and the dollar signs fixing the absolute reference.

Original4 marksA student copies the formula =A1+B1=A1+B1 from cell C1 across to cell D1 and down to cell C2. (a) State the formula in D1. (b) State the formula in C2.
Show worked answer →

Both A1 and B1 are relative references, so they shift in the same direction as the copy.

(a) Copying one column to the right (from C to D) adds one column to each reference: A1 becomes B1 and B1 becomes C1. So D1 contains =B1+C1.

(b) Copying down one row (from row 1 to row 2) adds one row to each reference: A1 becomes A2 and B1 becomes B2. So C2 contains =A2+B2.

Markers reward =B1+C1 for the across copy and =A2+B2 for the down copy, with references shifting by the copy direction.

Related dot points