Premium exercise · Excel logic, arrays, and finance
ROUND practice: invoice cents
Practice Excel ROUND by calculating a price with tax and rounding each line to the nearest cent.
C1 is the tax rate, shared by every line. Column A is the price and column B is the quantity.
In column D, use ROUND to the nearest cent. Lock the tax rate with $ so the formula fills down. Line total is price × quantity × (1 + tax).
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D |
|---|---|---|---|---|
| 1 | Price | Qty | 0.0825 | Total |
| 2 | 19.99 | 3 | Formula goes in D2. formula | |
| 3 | 4.5 | 2 | Formula goes in D3. formula | |
| 4 | 10 | 1 | Formula goes in D4. formula |
Hint
ROUND takes the number and how many decimal places to keep. Cents are 2 decimal places.
Explanation
This exercise practices ROUND in Excel, including a reference locked with $. The formula goes in D2, D3, D4.
ROUND looks at the next digit and keeps two decimal places. 19.99 × 3 × 1.0825 becomes 64.92, 4.50 × 2 × 1.0825 becomes 9.74, and 10 × 1.0825 becomes 10.83. $C$1 stays put when you fill down.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.