Dashboard Mode - Relative references
Goal
See how relative references help copy formulas easily to calculate total prices for different products.
See how relative references help copy formulas easily to calculate total prices for different products.
| Product | Price | Quantity | Total Price |
|---|---|---|---|
| Apples | 2 | 5 | |
| Bananas | 1.5 | 8 | |
| Cherries | 3 | 4 | |
| Dates | 4 | 6 | |
| Elderberries | 5 | 3 |
=SUM(D2:D6)=B2*C2+----------------------+----------------------+ | Product Table | Total Revenue (KPI) | | (with relative refs) | | +----------------------+----------------------+
When you change the quantity or price for any product, the total price updates automatically because the formula uses relative references. The total revenue KPI also updates to reflect the new sum.
If you change the price of Bananas from 1.5 to 2, which cells update and what happens to the total revenue?
A1 when you copy a formula from cell B1 to cell B2 in Google Sheets?A1 becomes A2.C3 with no $ signs, so it is fully relative.=A1+1 and you copy this formula to cell B3, what will be the formula in B3 and its result if A2=5?A1 becomes A2.=A2+1, so the result is 5 + 1 = 6.=A1+B1. When you copy it to cell C4, the formula becomes =A2+B2. But you want it to stay =A1+B1. What is the best fix?A1 change when copied. To keep them fixed, use absolute references with $.$A$1 and $B$1 fixes both row and column, so the formula stays the same when copied.=A2*0.10 uses A2 without $, so row changes when copied. Options A, C, D fix either row or column incorrectly.Pass the test and this pattern moves unknown