The request

From Angela Rivera, Head of Customer Support
Your goal
Step 1 of 3. In E2:E5, compute each line's total: quantity times unit_price, minus the discount (discount_pct is a percentage). Use one formula filled down.
- Fill
E2:E5with the right valuesnot done yet - With formulas, not typed numbersnot done yet
Step 2 of 3. In B8, add up the line totals with SUM.
- Fill
B8with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
SUMnot done yet
Step 3 of 3. Fill in the rest: B9 the shipping fee with IF (0 when the subtotal in B8 is at least the threshold in H2, otherwise the fee in H3), B10 the sales tax (the subtotal times the rate in H1), and B11 the order total (subtotal plus shipping plus tax).
- Fill
B9:B11with the right valuesnot done yet - With formulas, not typed numbersnot done yet
- Use
IFnot done yet
Step 1 · your sheet
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | product | quantity | unit_price | discount_pct | line_total | Sales tax rate | 8.25% | ||
| 2 | Linden Enamel Serving Platter | 2 | 18.99 | 25 | Free shipping from | 75.00 | |||
| 3 | Weston Cashmere-Blend Quilt | 1 | 25.99 | 25 | Standard fee | 7.95 | |||
| 4 | Thatcher Acacia Dutch Oven | 1 | 13.99 | 25 | |||||
| 5 | Thatcher Cast Iron Bowl Set | 1 | 15.99 | 25 | |||||
| 6 | |||||||||
| 7 | |||||||||
| 8 | Subtotal | ||||||||
| 9 | Shipping | ||||||||
| 10 | Sales tax | ||||||||
| 11 | Order total | ||||||||
| 12 | |||||||||
| 13 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
Step 2 · your sheet
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | product | quantity | unit_price | discount_pct | line_total | Sales tax rate | 8.25% | ||
| 2 | Linden Enamel Serving Platter | 2 | 18.99 | 25 | 28.49 | Free shipping from | 75.00 | ||
| 3 | Weston Cashmere-Blend Quilt | 1 | 25.99 | 25 | 19.49 | Standard fee | 7.95 | ||
| 4 | Thatcher Acacia Dutch Oven | 1 | 13.99 | 25 | 10.49 | ||||
| 5 | Thatcher Cast Iron Bowl Set | 1 | 15.99 | 25 | 11.99 | ||||
| 6 | |||||||||
| 7 | |||||||||
| 8 | Subtotal | ||||||||
| 9 | Shipping | ||||||||
| 10 | Sales tax | ||||||||
| 11 | Order total | ||||||||
| 12 | |||||||||
| 13 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
Step 3 · your sheet
| A | B | C | D | E | F | G | H | I | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | product | quantity | unit_price | discount_pct | line_total | Sales tax rate | 8.25% | ||
| 2 | Linden Enamel Serving Platter | 2 | 18.99 | 25 | 28.49 | Free shipping from | 75.00 | ||
| 3 | Weston Cashmere-Blend Quilt | 1 | 25.99 | 25 | 19.49 | Standard fee | 7.95 | ||
| 4 | Thatcher Acacia Dutch Oven | 1 | 13.99 | 25 | 10.49 | ||||
| 5 | Thatcher Cast Iron Bowl Set | 1 | 15.99 | 25 | 11.99 | ||||
| 6 | |||||||||
| 7 | |||||||||
| 8 | Subtotal | 70.46 | |||||||
| 9 | Shipping | ||||||||
| 10 | Sales tax | ||||||||
| 11 | Order total | ||||||||
| 12 | |||||||||
| 13 |
Loading the editor…
Reference solution
Mote checks your result
Press Check. Each right cell becomes a firefly in your lantern.
What Angela gets, and why
The lesson
One sheet, three steps
Real spreadsheets are chains: each block of cells feeds the next. This boss level rebuilds an
order total the way a support lead would on a call, using everything from the chapter: cell
references and brackets, SUM over a range, IF for a rule, and inputs kept in labelled cells.
The sheet holds the four lines of order 7502 in A1:D5, and the store’s rules in column H: the
sales tax rate in H1, the free-shipping threshold in H2 and the standard fee in H3. Rows 8 to
11 are the summary you fill in.
Step 1: line totals
Each line is quantity times price, minus its discount. Every item in this order has 25% off:
E2 =B2*C2*(1-D2/100)
Write it once and fill it down to E5. Because all references are relative, E3 reads row 3,
E4 row 4. Check one line by hand: 2 × 18.99 × 0.75 = 28.485, which the cell shows as 28.49.
Step 2: the subtotal
B8 =SUM(E2:E5)
Sum the line totals, never the list prices. The discount lives inside each line total, so this subtotal is what the customer owes for the goods.
Step 3: shipping, tax and the total
The shipping rule is the same one support quotes every day: free from $75, otherwise the standard fee. The test reads the subtotal after discounts:
B9 =IF(B8>=H2,0,H3)
B10 =B8*H1
B11 =B8+B9+B10
These formulas are not filled down, so the inputs don’t need dollar signs here. Lock them anyway if you plan to copy the block to another order; it costs nothing and prevents the classic fill-down slip.
The total shows 84.23, while 70.46 + 7.95 + 5.81 adds up to 84.22. Nothing is wrong: cells keep
more decimals than they show. The subtotal is really 70.4625 and the tax 5.8131, and the sheet
adds the full values. If a receipt rounds each part to cents first, wrap them in
ROUND(…, 2) so the sheet matches it to the cent.
Thinking like an analyst
This order is a good example of why the order of rules matters. At list price the four lines add up to more than $75, so a quick glance says “free shipping”. After the 25% discount the subtotal is 70.46, under the threshold, so the customer correctly paid 7.95. The sheet turns an argument into a calculation anyone can follow.
Before you build a sheet like this, write the rules down with the person who owns them:
- Is shipping judged before or after discounts? (Here: after.)
- Is tax charged on shipping too? (Here: no, on the goods only.)
- What happens at exactly $75? (Here: free, so
>=.)
Common mistakes
- Testing shipping against the list-price total instead of
B8. - Adding the tax rate instead of multiplying:
=B8+H1adds 0.0825 dollars. - Typing the subtotal into
B9’s test (=IF(70.46>=75,…)): the sheet stops working for the next order. - Summing
C2:C5(prices) in step 2, which ignores quantities and discounts.
Lantern lit!
Practised: formulassumifabsolute referencesfill down
- Solved
- No hints
- First run
