References: Putting It Together
About this lesson
Relative references move when a formula is copied. Absolute references never move. Mixed references move in one direction only. Most real formulas use more than one kind.
- choose relative, absolute or mixed for every reference in a formula.
- build a costing sheet where changing one rate updates every figure.
The idea
Everything in this module on one sheet. The rule is the same every time: when I copy this formula, should this reference move? Row data moves. Facts that apply to the whole sheet do not. Anything that fills a block in two directions needs a mixed reference.
Here is where the effort pays. A locked rate is not just neat. It is what lets the sheet answer a question. Change the session length in one cell, and every hours figure and every cost moves with it at once. You can see the new number before you commit to it. A sheet with the rate typed into forty formulas cannot do that. It looks the same until the day somebody asks.
The mistake to watch for
A half-locked reference like B$7 can be correct where it was written and wrong where it is copied. It holds in one direction only. Before you fill, decide which way the formula will travel. A lock that is right for filling down is not enough for filling across.
Where this comes up again
This lesson needs JavaScript to run. Everything below is the lesson in full, but you cannot type into the grid or be marked.
Every session is the same length, given in B6. Work out the beginners' total hours in D2.
To begin, type it exactly:
=C2*$B$6
| Row | A | B | C | D | E | F | G |
|---|---|---|---|---|---|---|---|
| 1 | Class | Learners | Sessions | Hours | Cost | ||
| 2 | Beginners | 14 | 8 | ||||
| 3 | Improvers | 9 | 12 | ||||
| 4 | Advanced | 6 | 12 | ||||
| 5 | |||||||
| 6 | Hours per session | 1.5 | |||||
| 7 | Cost per hour | 46 | |||||
| 8 |
Every step
-
Every session is the same length, given in
B6. Work out the beginners' total hours inD2. To begin, type it exactly:=C2*$B$6. -
Now the cost of the beginners' class in
E2: their hours at the rate inB7. -
E3was filled down fromE2and has come out at zero. Repair it. -
In
E6, useSUMto total what all three classes cost. -
The session length in
B6is about to change from 1.5 to 2. Before it does, read=C3*$B$6and say what the improvers' hours are now. -
One last reading. Somebody wrote the cost formula as
=D4*B$7. Say what it returns inE4.