logo
excelfunctions.org
bookmarks

PERCENTOF

Sums the values in the subset and divides it by all the values.

Math & TrigonometryMath BasicsModern Excel Functions

What it does

Calculates the sum of a subset divided by the total sum.

Syntax

PERCENTOF(subset_data, all_data)

Arguments

  • subset_data(range) β€” Subset.
  • all_data(range) β€” Total.

Examples

Calculate Percentage

% of Sales from East.

FORMULA
=PERCENTOF(SUMIF(A:A,"East",B:B), SUM(B:B))
RESULT
0.25
SAMPLE DATA
AB
1RegionSales
2East25
3West75