Dashboard Mode - Absolute references ($)
Goal
Calculate total sales for multiple products with a fixed tax rate using absolute references to keep the tax rate constant in formulas.
Calculate total sales for multiple products with a fixed tax rate using absolute references to keep the tax rate constant in formulas.
| Product | Price | Quantity Sold | Tax Rate |
|---|---|---|---|
| Apples | 2 | 30 | 0.07 |
| Bananas | 1.5 | 50 | 0.07 |
| Cherries | 3 | 20 | 0.07 |
| Dates | 4 | 15 | 0.07 |
| Elderberries | 5 | 10 | 0.07 |
=SUMPRODUCT(B2:B6,C2:C6)D2 (0.07)=B2*C2*(1+$D$2)=SUM(E2:E6)+----------------------+-----------------------+ | Total Sales Before Tax| Total Sales After Tax | | 305 | 326.35 | +----------------------+-----------------------+ | Tax Rate (fixed) = 7% | +----------------------------------------------+ | Product | Price | Quantity | Total w/ Tax | | Apples | 2 | 30 | 64.2 | | Bananas | 1.5 | 50 | 80.25 | | Cherries| 3 | 20 | 64.2 | | Dates | 4 | 15 | 64.2 | | Elderb. | 5 | 10 | 53.5 | +----------------------------------------------+
If you change the tax rate in cell D2, all formulas using $D$2 update automatically. This keeps the tax rate fixed in calculations even when formulas are copied down rows.
Changing quantities or prices updates total sales and total sales after tax instantly.
Try changing the tax rate in D2 to 0.1 (10%). Which components update?
The Total Sales Before Tax does not change because it does not use the tax rate.