PERCENTOF Function
Return the share of a subset in the total of all values. data_subset holds the values of the part and data_all the values of the whole; the result is the sum of data_subset divided by the sum of data_all, as a fraction. Text is ignored, and a whole that sums to 0 returns #DIV/0!.
Syntax
PERCENTOF(data_subset, data_all)
Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=PERCENTOF({1,2},{1,2,3})
The formula returns 0.5, because 1 + 2 is half of 1 + 2 + 3.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.