Basic Functions
Beginner

SUM over two separate ranges

Add two blocks of figures without dragging the subtotal between them into the total.

Task:

The sheet lists the two shops one under the other, with each shop's subtotal already in place. Put the combined sales of both shops in B10 — the six product lines only, not the subtotals.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

10 rows × 2 columns1 cell you fill in
AB
1LineSales
2Market St — coffee1840
3Market St — pastries960
4Market St — subtotal2800
5Quay — coffee2210
6Quay — pastries1175
7Quay — subtotal3385
8
9
10Both shops
What this exercise teachesMay contain the answer

A single range over B2:B7 double-counts: every subtotal is already the sum of the lines above it, so the total would come out at twice the real figure. Listing the ranges you mean, with a comma between them, keeps the subtotals out without deleting them from the sheet.