Premium Google Sheets drill · Arrays
ARRAYFORMULA line totals
Practice Google Sheets ARRAYFORMULA by multiplying quantity by price so three line totals spill down the column.
Quantity is in A2:A4 and price is in B2:B4. ARRAYFORMULA runs the multiplication for every row and spills.
In C2, multiply the two ranges with ARRAYFORMULA. Do not fill the formula down yourself.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C |
|---|---|---|---|
| 1 | Qty | Price | Line |
| 2 | 2 | 5 | Formula goes in C2. formula |
| 3 | 4 | 3 | |
| 4 | 1 | 20 |
Hint
Wrap the multiplication in ARRAYFORMULA so the ranges spill instead of using only the first row.
Explanation
ARRAYFORMULA multiplies row by row: 2×5, 4×3, and 1×20. The three line totals spill from C2, so one formula covers the column.
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.