PERCENTOF function
Sums the values in the subset and divides it by all the values.
Math and trigonometry · Microsoft 365 · Guided Excel example
Where can you use it?
Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.
Scenario in the workbook
Divide the subset total by the overall total. With ranges, the function first sums each set.
A worked example from the workbook
| Row | A | B |
|---|---|---|
| 6 | Input | Second input |
| 7 | 2 | 4 |
| 8 | 3 | 12 |
| 9 | 8 | 8 |
Record 1
=PERCENTOF(A7,B7)Illustrative output0.5
See the inputs and instructions for all 3 examplesWorked examples
Divide the subset total by the overall total. With ranges, the function first sums each set.
Column F provides expressions as text. Satisfy the stated requirements, then paste into an empty Excel cell and compare with column G. The result was not verified in desktop Excel here.
| Row | A | B |
|---|---|---|
| 6 | Input | Second input |
| 7 | 2 | 4 |
| 8 | 3 | 12 |
| 9 | 8 | 8 |
| Trial | Expression | Sample output |
|---|---|---|
| Record 1 | =PERCENTOF(A7,B7) |
0.5 |
| Record 2 | =PERCENTOF(A8,B8) |
0.25 |
| Record 3 | =PERCENTOF(A9,B9) |
1 |