PERCENTOF
Share of a data subset within a whole.
- Excel: Verified match
- Google Sheets: No equivalent
- Returns: Number
Examples
=PERCENTOF(A1:A10, B1:B10) | A | B | |
|---|---|---|
| 1 | 10 | 2 |
| 2 | 20 | 4 |
| 3 | 30 | 6 |
| 4 | 40 | 8 |
| 5 | 50 | 10 |
Result 5
Syntax
PERCENTOF(data_subset, data_all) data_subset- range required
data_all- range required
Errors
#DIV/0!=PERCENTOF(5, 0)