Free exercise · Excel formula basics
Relative and absolute references
Practice mixing relative and absolute Excel references so a list price stays locked while each row's discount changes.
B1 is the list price, the same for every row. Column A is quantity and column B, from row 4 down, is that row's discount.
Revenue in column C is quantity × list price × (1 − discount). Lock the list price. Leave quantity and discount relative, then fill down.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C |
|---|---|---|---|
| 1 | List price | 40 | |
| 2 | |||
| 3 | Qty | Discount | Revenue |
| 4 | 2 | 0.5 | Formula goes in C4. formula |
| 5 | 5 | 0 | Formula goes in C5. formula |
| 6 | 4 | 0.25 | Formula goes in C6. formula |
Hint
A reference with $ does not move when you fill. A reference without $ does.
Explanation
This exercise practices Excel cell references, including a reference locked with $. The formula goes in C4, C5, C6.
$B$1 keeps the list price fixed while quantity and discount move with the row. Revenue is quantity × list price × (1 − discount).
One formula that works: C4: =A4*$B$1*(1-B4). C5: =A5*$B$1*(1-B5). C6: =A6*$B$1*(1-B6). Other formulas that return the same result are accepted.