ExcelExcel Microsoft 365+
PERCENTOF function in Excel
Sums the values in the subset and divides it by all the values
=PERCENTOF(data_subset, data_all)PERCENTOF syntax and parameters
Two arguments, two required.
- data_subsetarrayRequired
The values that in the data subset
- data_allarrayRequired
The values that make up the entire set.
PERCENTOF examples
Formulas you'll actually reuse.
One region's share of total revenue — subset over whole:
=PERCENTOF(C2:C48, C2:C200)Result
0.353Every region's share of the total in one GROUPBY:
=GROUPBY(A2:A200, C2:C200, PERCENTOF)
PERCENTOF in Google Sheets
No direct equivalent — here's the way around.
Try PERCENTOF in the playground
Edit the example — nothing to install.
Preloaded with the PERCENTOF formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- ABSReturns the absolute value of a numberMathGoogle Sheets
- ACOSReturns the arccosine of a numberMathGoogle Sheets
- ACOSHReturns the inverse hyperbolic cosine of a numberMathGoogle Sheets
- ACOTReturns the arccotangent of a numberMathGoogle Sheets
- ACOTHReturns the hyperbolic arccotangent of a numberMathGoogle Sheets
- AGGREGATEReturns an aggregate in a list or databaseMathNo Google Sheets equivalent