Running Total and Percent of Total in One View

Excel Formulas › Dashboards & Reporting

All versions

Two columns turn a plain list of numbers into a report: a running total that accumulates down the rows, and each row's percent of the grand total.


Quick formula: Running total uses an expanding range; percent of total uses a fixed range:
=SUM($B$2:B2)

For the share: =B2/SUM($B$2:$B$8), formatted as a percentage.

Functions used (tap for the full reference guide):

The example

Monthly sales that we want to accumulate and express as a share of the total.

ABCD
1MonthSalesRunning% of total
2Jan$200$20033%
3Feb$150$35025%
4Mar$250$60042%

The formula

The trick is the mixed reference: lock the start of the range but let the end grow as you fill down:

=SUM($B$2:B2) // anchored start, expanding end = running total

How it works

How each column works:

  1. In the running-total column, SUM($B$2:B2) sums from the fixed first cell down to the current row.
  2. As you fill down, the range expands: row 3 sums B2:B3, row 4 sums B2:B4, and so on.
  3. For percent of total, divide each row by the grand total with a fully locked range: =B2/SUM($B$2:$B$8).
  4. Format the share column as Percentage; the values add up to 100%.

Sort the list descending first and the running-total percent becomes a Pareto (80/20) view.

Try it: interactive demo

Interactive

Enter three monthly values; see the running total and each month's share.

Variations

Running total that resets each year

Use SUMIFS keyed to the year so the total restarts.

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

Percent of a category subtotal

Divide by a SUMIF for the row's group instead of the grand total.

=B2/SUMIF($A$2:$A$8,A2,$B$2:$B$8)

Pitfalls & errors

Forgetting the $ on the start cell breaks the running total — the range slides instead of expanding and every row just shows its own value.

Use a fully locked range in the denominator so the percent-of-total figures all reference the same grand total.

Practice workbook

📊
Download the free Running Total and Percent of Total in One View practice workbook
Edit the yellow Sales cells; running total and share recalculate.

Frequently asked questions

Why does my running total not accumulate?
The start of the SUM range is not locked. Use $B$2:B2 so the first cell stays put while the range grows.
How do I make the shares add to 100%?
Divide each value by the same fully locked grand-total range. Rounding for display can make them look like 99% or 101%, but the underlying values total 100%.
Can I do this without formulas?
A PivotTable offers running total and percent-of-total as built-in 'Show Values As' options, but formulas keep it inline with your data.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Function references: SUM