Year 8 · Y8.4 Spreadsheets and Data Modelling · Lesson 2
Stretch tasks Absolute and relative references
Quiz Challenge
A quiz game against four computer players, then short and long written answers.
- Quiz Blitz12 questions against the clock
- Quick Fire4 short answers
- Big Think2 long answers
About 20 minutes
This or That
Pixel the cat asks 8 questions. Each has two answers: pick the right one.
- Two answers to every question
- A fish treat for every right answer
- Streaks win Pixel shades, then a party hat
About 4 minutes
Memory Match
Flip the cards two at a time to match each term card to its meaning card.
- 12 cards: each term has a meaning
- One peek at every card
- Combo points for pairs found in a row
6 pairs, about 4 minutes
The games need JavaScript. Every question is below, with the answers at the end.
Read the lesson: Absolute and relative references
Absolute and relative references: the questions
Quiz Challenge, round 1: Quiz Blitz
=B2*C2 is in D2 and is copied down to D3. What does it become?
=C2*D2=B3*C2=B3*C3=B2*C2
=B2*$E$1 is copied down to row 5. What does it become?
=E5*$B$1=B5*$E$1=B5*$E$4=B2*$E$1
The dollar signs in $E$1 make the cell show its value as money.
- True
- False
The VAT rate is stored once, in E1. Which formula in C2 can be copied down safely?
=$B$2*E1=$B$2*$E$1=B2*$E$1=B2*E1
=B2*E1 is copied down from row 2 to row 4. What does it become?
=B4*$E$1=B4*E3=B4*E1=B2*E3
Which reference locks the column but lets the row change?
B$2$B$2B2$B2
=A1+$B$1 is copied one cell to the right. Type the new formula.
A formula works in row 2 but gives nonsense when copied down. What is the most likely cause?
- A reference that should be absolute is relative
- The cells are formatted as text
- The formula needs more brackets
- The spreadsheet needs restarting
Which TWO references never change when copied DOWN a column?
Tick 2.
$C$3C$3$C3C3
Relative references are usually what you want when copying a total down a column.
- True
- False
An exchange rate is in F1 and prices are in A2:A10. Which formula in B2 converts the price and can be filled down?
=$A$2*$F$1=A2*$F$1=$A$2*F1=A2*F1
Order these references from the least locked to the most locked.
Number these 1 to 3.
$B$2B2B$2
Quiz Challenge, round 2: Quick Fire
Explain the difference between a relative and an absolute reference. [2 marks]
Why should a VAT rate be stored in one cell and used with an absolute reference, rather than typed into every formula? [2 marks]
This formula is in E2, and D1 holds a price that every row needs. It is copied down to E3. What does it become, and what goes wrong? [2 marks]
=C2*D1When would you use a mixed reference such as B$2? [2 marks]
Quiz Challenge, round 3: Big Think
A student puts =B2*E1 in C2 to add VAT using the rate in E1, then fills it down. Every row after the first shows the wrong answer. Explain what has gone wrong, and how to fix it. [4 marks]
A times table grid has the numbers 1 to 10 along row 1 and down column A. Explain how one formula in B2 can be filled across and down to complete the grid, and why the dollar signs matter. [6 marks]
This or That: tick the right answer
=B2*C2is copied one column to the right. What does it become?=B3*C3=C2*D2
Which reference is fully absolute?
$B$2B$2
=B$2is copied down three rows. What does it become?=B$2=B5
=$B2is copied down one row. What does it become?=$B3=$B2
A discount rate is stored once, in H1. Which reference in the formula needs dollar signs?
- The one pointing at H1
- The one pointing at each price
What kind of reference is B2?
- Relative
- Absolute
Which of these is a mixed reference?
$B2$B$2
A formula works in row 2, but every row below shows nonsense. What is the best fix?
- Lock the reference that should not move
- Type the formula again in every row
Memory Match: match each term to its meaning
| Term | Meaning |
|---|---|
A B2 | 1 Copying a formula into the cells below it |
B $B$2 | 2 Column and row both move when copied |
C $B2 | 3 Points at one fixed cell, such as a VAT rate |
D B$2 | 4 Column locked, row moves |
| E Absolute reference | 5 Row locked, column moves |
| F Fill down | 6 Column and row both locked |
Answers
Round 1: Quiz Blitz
=B3*C3Both references are relative, so both move down one row.=B5*$E$1B2 is relative and moves to B5. $E$1 is absolute, so it never changes.- False Dollar signs lock a reference so it does not change when copied. They have nothing to do with currency.
=B2*$E$1Each row needs its own price, so B2 stays relative, but every row needs the same rate, so E1 is locked.=B4*E3Down two rows, so every relative row number goes up by two: B2 to B4 and E1 to E3. E3 is probably empty.$B2The dollar sign sits in front of whatever it locks. In $B2 it is in front of the column letter.- =B1+$B$1 Moving one column right changes A1 to B1. $B$1 is locked and stays the same.
- A reference that should be absolute is relative It is the classic symptom: a reference that should have stayed put has drifted down with the copy.
$C$3;C$3Copying down changes row numbers. A $ in front of the 3 locks the row, so both $C$3 and C$3 stay the same.- True Each row's total should use that row's own numbers, which is exactly what relative references do.
=A2*$F$1The price must move down row by row, and the rate must not.B2→B$2→$B$2B2 moves freely, B$2 has its row locked, and $B$2 is fully locked.
Round 2: Quick Fire
- A relative reference changes when the formula is copied
- An absolute reference is locked, so it stays the same
Model answerA relative reference changes when the formula is copied, so B2 becomes B3 one row down. An absolute reference is locked with dollar signs, so $B$2 stays the same wherever it is copied.
- If the rate changes, it is changed once and every formula updates
- The absolute reference keeps every copied formula pointing at that cell
Model answerIf the VAT rate changes, it only has to be changed once, in one place, and every formula updates. The absolute reference keeps every copied formula pointing at that same cell.
- =C3*D2
- D2 is the wrong cell, so the answer is wrong; D1 should have been made absolute
Model answerIt becomes =C3*D2. D2 is the wrong cell, probably empty, so the answer is wrong. D1 should have been locked as an absolute reference, $D$1.
- When the row must stay fixed but the column can change
- For example, when filling a grid such as a times table across and down
Model answerWhen the row must stay fixed but the column should change, for example when one formula is filled across and down to make a grid like a times table, and every cell must use a number from row 2.
Round 3: Big Think
- E1 is relative, so it moves to E2, E3 and so on as the formula is copied
- Those cells are empty, so the answer is 0
- Fix it by making E1 absolute: $E$1
- Then each row uses its own price but always the rate in E1
Model answerE1 is a relative reference, so when the formula is filled down it moves to E2, E3 and so on. Those cells are empty, so every row after the first multiplies by zero and shows 0. The fix is to make the rate absolute, =B2*$E$1, and fill it down again: each row then uses its own price, B3, B4 and so on, but always the rate in E1.
- The formula multiplies a column A number by a row 1 number
- A formula such as =$A2*B$1
- $A locks the column, so it always uses the numbers down column A
- $1 locks the row, so it always uses the numbers along row 1
- The unlocked part changes, so each cell uses its own row and column
- These are mixed references
- Without the dollar signs the references drift and give wrong answers
Model answerEach cell must multiply the number in column A on its row by the number in row 1 above its column. The formula =$A2*B$1 in B2 does this using mixed references. The $ in front of A locks the column, so wherever it is copied it always uses the numbers down column A, while the row part changes as it is filled down. The $ in front of 1 locks the row, so it always uses the numbers along row 1, while the column part changes as it is filled across. Without the dollar signs both references would drift as the formula is copied and the grid would be full of wrong answers.
This or That
=C2*D2Copying right moves each column letter on by one. The row numbers stay the same.$B$2$B$2 locks both the column and the row. B$2 locks only the row.=B$2The dollar before the 2 locks the row, so copying down changes nothing.=$B3Only the column is locked, so the row number still moves.- The one pointing at H1 Every row must use the same H1, so lock it as $H$1. The price reference should move row by row.
- Relative With no dollar signs, B2 changes when the formula is copied.
$B2A mixed reference locks only one part. $B2 locks the column but not the row.- Lock the reference that should not move The missing dollar signs are the fault. Retyping every row wastes time and invites typing mistakes.
Memory Match
- A 2
B2: Column and row both move when copied - B 6
$B$2: Column and row both locked - C 4
$B2: Column locked, row moves - D 5
B$2: Row locked, column moves - E 3 Absolute reference: Points at one fixed cell, such as a VAT rate
- F 1 Fill down: Copying a formula into the cells below it