Running total in Excel: =SUM($B$2:B2) and other methods
How to calculate a running (cumulative) total in Excel: SUM with a mixed reference, previous-plus-current, stock balance, SUMIF by group and the PivotTable option.
A cashier records daily revenue, and the manager asks one question: “How much have we taken since the start of the month?” Instead of adding it up on a calculator every day, keep a running total column next to it: each row shows the sum from day one up to that day.
Running totals track progress against a monthly plan, stock balances, outstanding loan balances and Pareto analysis. The core trick is a range with one end locked and the other end moving.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Date | Revenue | Running total | |
| 2 | 01.10.2025 | 2 400 000 | 2 400 000 | |
| 3 | 02.10.2025 | 3 100 000 | 5 500 000 | |
| 4 | 03.10.2025 | 1 800 000 | 7 300 000 | |
| 5 | 04.10.2025 | 2 900 000 | 10 200 000 | |
| 6 | 05.10.2025 | 3 500 000 | 13 700 000 | |
| 7 | 06.10.2025 | 2 700 000 | 16 400 000 | |
| 8 |
Method 1: SUM with a mixed reference (most reliable)
1
Type =СУММ(B2:B2) in C2 — for now the range is a single cell.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Date | Revenue | Running total | |
| 2 | 01.10.2025 | 2 400 000 | 2 400 0001 | |
| 3 | 02.10.2025 | 3 100 000 | ||
| 4 | 03.10.2025 | 1 800 000 | ||
| 5 | 04.10.2025 | 2 900 000 | ||
| 6 |
2
In the formula bar, put the cursor on the first B2 and press F4 — it becomes =СУММ($B$2:B2). The start of the range is locked, the end stays relative.
3
Fill the formula down. The range grows by one cell per row: C3 uses $B$2:B3, C7 uses $B$2:B7. As a check, the last value must equal =СУММ(B2:B7).
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Date | Revenue | Running total | |
| 2 | 01.10.2025 | 2 400 000 | 2 400 000 | |
| 3 | 02.10.2025 | 3 100 000 | 5 500 000 | |
| 4 | 03.10.2025 | 1 800 000 | 7 300 0003 | |
| 5 | 04.10.2025 | 2 900 000 | 10 200 000 | |
| 6 |
Method 2: previous total + today’s amount
1
In C2 take the first value: =B2. In C3 type =C2+B3 — “yesterday’s total + today’s revenue”.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Date | Revenue | Running total | |
| 2 | 01.10.2025 | 2 400 000 | 2 400 0001 | |
| 3 | 02.10.2025 | 3 100 000 | 5 500 0002 | |
| 4 | 03.10.2025 | 1 800 000 | 7 300 000 | |
| 5 | 04.10.2025 | 2 900 000 | 10 200 000 | |
| 6 |
2
Fill C3 down. On big tables this is faster (each row adds only two cells), but deleting a row breaks the chain — see the traps below.
Stock balance: in minus out
The same trick gives you the balance after every transaction: =СУММ($B$2:B2)-СУММ($C$2:C2) — everything received so far minus everything issued so far. With method 2: =D1+B2-C2, but then D1 must hold the opening balance, not a header.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | In | Out | Balance | |
| 2 | 01.10.2025 | 100 | 0 | 100 | |
| 3 | 02.10.2025 | 0 | 30 | 70 | |
| 4 | 03.10.2025 | 50 | 40 | 80 | |
| 5 | 04.10.2025 | 0 | 25 | 55 | |
| 6 | 05.10.2025 | 20 | 60 | 15 | |
| 7 |
Pro level: running totals per group and in a PivotTable
When one table mixes several branches, you need a separate running total for each. Give SUMIF the same mixed reference: =СУММЕСЛИ($B$2:B2;B2;$C$2:C2) — “up to this row, only for this branch”.
Likewise =СЧЁТЕСЛИ($B$2:B2;B2) tells you which occurrence of the branch this is (1, 2, 3…). That number is great for finding duplicates and picking out “each customer’s first purchase”.
In Excel 365 one formula fills the whole column: =SCAN(0;B2:B7;LAMBDA(a;x;a+x)) — the result spills down.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Date | Branch | Revenue | Branch total | Occurrence | |
| 2 | 01.10.2025 | Chilanzar | 500 000 | 500 000 | 1 | |
| 3 | 01.10.2025 | Yunusabad | 700 000 | 700 000 | 1 | |
| 4 | 02.10.2025 | Chilanzar | 650 000 | 1 150 000 | 2 | |
| 5 | 02.10.2025 | Yunusabad | 400 000 | 1 100 000 | 2 | |
| 6 | 03.10.2025 | Chilanzar | 300 000 | 1 450 000 | 3 | |
| 7 |
No formulas: “Running Total In” in a PivotTable
1
Create a PivotTable: Вставка → Сводная таблица, Date in Rows, Revenue in Values.
2
Right-click a value → Value Field Settings → Show Values As tab. Pick Running Total In and set Base field to Date.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Revenue | ||
| 2 | 01.10.2025 | 2 400 000 | ||
| 3 | 02.10.2025 | 5 500 000 | ||
| 4 | 03.10.2025 | 7 300 000 | ||
| 5 | 04.10.2025 | 10 200 000 | ||
| 6 |
3
Click OK — the column becomes a running total and updates with Обновить все when new data arrives.
Try it in the simulator
Type =СУММ($B$2:B2) in C2 and fill it down to C7. Then type =C2/$F$1 in D2 and fill down — you’ll see what share of the monthly plan (F1) is done.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Day | Revenue | Running total | Plan % | Plan | 20000000 | ||||||||||||||||||
| 2 | 1 | 2400000 | ||||||||||||||||||||||
| 3 | 2 | 3100000 | ||||||||||||||||||||||
| 4 | 3 | 1800000 | ||||||||||||||||||||||
| 5 | 4 | 2900000 | ||||||||||||||||||||||
| 6 | 5 | 3500000 | ||||||||||||||||||||||
| 7 | 6 | 2700000 | ||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.