1SUM with an anchored start
=SUM(B$2:B2)
- In C2 type =SUM(B$2:B2). The dollar sign fixes the start of the range at row 2.
- Double-click the fill handle to copy the formula down. The range grows by one cell each row.
Build a cumulative total down a column with an anchored SUM range, or with a single SCAN formula that spills the whole running total.
Daily sales sit in a column and you want a second column that shows the total so far, the running total or cumulative sum.
The classic formula anchors the start of the range and lets the end move:
=SUM(B$2:B2)
In row 2 the range is B2 to B2, one cell. Fill down and the second reference moves with the row, giving B2:B3 in row 3, B2:B4 in row 4, and so on. The dollar sign in B$2 pins the first cell. Without it the whole range slides and each cell just adds itself.
Another approach adds today's amount to yesterday's total: =C2+B3 in row 3, with row 2 set to =B2. It is shorter, but the first row needs a different formula, and one deleted row breaks the chain.
In Microsoft 365 a single formula can produce the whole column. SCAN walks down a range and keeps a running accumulator:
=SCAN(0, B2:B9, LAMBDA(total, amount, total+amount))
It starts at 0 and, for each amount, adds it to the total so far. The results spill, so you write the formula once and there is nothing to fill down. If a new row is added to the range, extend the range reference, or point the formula at a table column.
A running total is only meaningful if the rows are in date order. Sort the data before you build it. The Foundations track teaches the anchored-range pattern, and the Analysis track uses it in summary tables.
=SUM(B$2:B2)
=SCAN(0,B2:B9,LAMBDA(total,amount,total+amount))
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, return the total of the sales from B2 down to the current row. Fill down to C9.
Answer in C2, then it fills down to C9.
Excel foundations covers this in lesson 5, SUM and ranges.