Cellgrids Cellgridsby LearnWithRinkesh
Home › Excel tutorials › Running Total in Excel (Cumulative Sum Formula)

How to Calculate a Running Total in Excel

By Rinkesh Shah · Business Analyst, 8 years in data · Updated 2026-10-31

▶ Video coming soon

A running total shows the total so far at every row, such as month-to-date sales or a bank balance. It only needs one small trick: a range that starts fixed and ends relative.

The basic formula

Sales in B2:B13. In C2 type:

=SUM($B$2:B2)

Copy it down. In C3 it becomes =SUM($B$2:B3), then =SUM($B$2:B4), and so on. The first cell stays locked and the last one moves.

A simpler version

Another option is =C2+B3 in C3, which adds the new amount to the previous total. Type =B2 in C2 to start. It works, but if you delete a row in the middle the chain breaks, so the SUM version is safer.

Restart the total for each category

With categories in A and amounts in B, use SUMIFS with the same expanding range:

=SUMIFS($B$2:B2, $A$2:A2, A2)

The total restarts for every new category.

Running balance

With deposits in B and withdrawals in C, balance in D2:

=SUM($B$2:B2)-SUM($C$2:C2)

Percentage of total so far

Divide the running total by the grand total: =C2/SUM($B$2:$B$13). Format as a percentage. This is the basis of a Pareto chart.

Common mistakes

Worked example

Daily sales in B2:B10. In C2 enter =SUM($B$2:B2) and copy down. C3 becomes =SUM($B$2:B3) and so on. The anchored start with a moving end makes a running total.

Common mistakes

Frequently asked questions

Can I do it with an Excel Table?

Yes: =SUM(INDEX([Sales],1):[@Sales]).

How do I reset the total per group?

Use SUMIFS with an expanding range and a group condition.

Simple alternative?

C2 = B2, then C3 = C2 + B3 copied down.

Practice this online, free

Reading is only half of learning Excel. Cellgrids is a free place for online Excel practice: solve Excel formula exercises in a live spreadsheet, prepare for Excel interview questions, and work through business case studies built for data analytics and business analytics roles.

Practice these formulas: SUM, SUMIFS, SUMPRODUCT.

Start Excel practice → Case studies