FormulaCraft

How to calculate percent of total without a pivot table in Excel and Google Sheets

Topic:Pivot-style summaries (formula approach)
Excel & Google Sheets
=SUMIF(A2:A6,"East",B2:B6)/SUM(B2:B6)

Verified example

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

RegionSales
East1200
West800
East600
North400
West1000

=SUMIF(A2:A6,"East",B2:B6)/SUM(B2:B6)0.45

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. 1Arrange flat data with category labels in A2:A6 and numeric values in B2:B6.
  2. 2In a summary row, type the category name you want (e.g., 'East') and the formula =SUMIF(A2:A6,"East",B2:B6)/SUM(B2:B6).
  3. 3Format the result cell as Percentage (Ctrl+Shift+%) to display it as a percent.
  4. 4Replace the hardcoded "East" with a cell reference pointing to your summary label for a reusable row.
  5. 5Copy the formula down for each category; the denominator SUM(B2:B6) is the same for all rows — lock it with $B$2:$B$6.

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

How do I get percent of row total instead of column total?

Keep the same SUMIF numerator but change the denominator to SUMIF filtered to that row's group rather than SUM of all values.

What if I have two criteria, like Region and Year?

Switch to SUMIFS: =SUMIFS(B2:B6,A2:A6,"East",C2:C6,2024)/SUM(B2:B6).

Will this update automatically when data changes?

Yes — unlike a pivot table, which requires a manual Refresh, the SUMIF/SUM formula recalculates instantly whenever source data changes.

More on Pivot-style summaries (formula approach)

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: