FormulaCraft

How to calculate a cumulative percentage in Excel and Google Sheets

Topic:Percentages
Excel & Google Sheets
=SUM($B$2:B2)/SUM($B$2:$B$6)

Verified example

Computed by a real spreadsheet engine on the sample data below.

CategoryCountCumulative %
A50
B30
C10
D7
E3

=SUM($B$2:B2)/SUM($B$2:$B$6)0.5

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Enter your values in column B (e.g., B2:B6).
  2. 2In C2, enter =SUM($B$2:B2)/SUM($B$2:$B$6). The first reference expands as you copy down; the second stays fixed.
  3. 3Copy C2 down to C6. The numerator grows row by row, the denominator stays constant.
  4. 4Format column C as Percentage to display results like 20%, 45%, etc.

Tips

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

Frequently asked

Why does the last row always show 100%?

Because SUM($B$2:B6) equals SUM($B$2:$B$6) in the last row, making the fraction exactly 1 (100%).

Can I do this for grouped data?

Yes, first use SUMIF to get subtotals by group, then apply the cumulative percentage formula to the subtotals.

More on Percentages

See all →

Formulas used

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: