Excel PERCENTOF Function Tutorial

Version: Microsoft 365
Last update:
Tip: Use ⬆️ ⬇️ to turn the page up and down. We recommend browsing with a large screen for a better reading experience.

1. How to calculate percentage share from a set of data?

This is the page view data for different language versions of Wikipedia, and we want to know the percentage share of each language. Data source: Wikipedia
How to calculate percentage share from a set of data?

2. Enter the function =PERCENTOF

In the cell, enter =PERCENTOF(
Enter the function $$_=PERCENTOF_$$

3. Select the cell to calculate the percentage

Click on the cell you want to calculate the percentage for, here it is H6, and now the function becomes: _=PERCENTOF(H6
Select the cell to calculate the percentage

4. Select a range of cells to form the total

Add a comma, then select a range of cells to form the total. Here, you can drag the mouse to select, or select the first row H6, then hold Shift + click the last row to select, now the function becomes: _=PERCENTOF(H6,H6:H20
Select a range of cells to form the total

5. Convert relative reference to absolute reference

Select the relative reference H6:H20, then press F4, it will change to absolute reference: $H$6:$H$20
Convert relative reference to absolute reference

6. Press enter

At this point, you will see the automatically generated percentage number: 0.523126077, which may not yet be in % format.
Press enter

7. Right-click to edit cell format

Hover over the cell, right-click, and select Format Cells
Right-click to edit cell format

8. Set format

Select Category as Percentage, click OK to save.
Set format

9. Get the percentage

Now we can see the percentage.
Get the percentage

10. Complete the task

Extend the format of the current cell to the other cells below to get the data we want.
Complete the task

11. 🎉 Finish! 🎉

Author's Note: I hope you can feel the effort I put into these tutorials. I hope to create a series of very easy-to-understand Excel tutorials.

If it is useful, help me share these tutorials, thank you!


Follow me:
How to calculate percentage share from a set of data?