How to Create Percent Frequency Distribution in Excel (2 Ways)

A percent frequency distribution displays the percentage of observations within a certain interval or category compared to the total number of observations. You can use Excel functions and features to make a percent frequency distribution.

Key Takeaways

➤ A percent frequency distribution displays the percentage of observations in a certain category relative to the total.
➤ PivotTable: Insert >> PivotTable >> Show Value As >> % of Grand Total.
➤ Newer functions: =SORT(UNIQUE(array) >> =FREQUENCY(data_array, bins_array) >> =frequency/total.
➤ Older functions: Advanced filter >> Sort >> =COUNTIF(range, criteria) >> =frequency/total.

Percent frequency distribution in Excel

In this article, we’ll learn to create a percent frequency distribution using the PivotTable and Excel features & functions.

Download Practice Workbook
1

Using PivotTable

In this dataset, we have the gender in Column A, the age in Column B, the satisfaction score in Column C, and the feedback category in Column D. Let’s use PivotTable to make a percent frequency distribution for a categorical variable and a numerical variable.

Percent Frequency Distribution: Categorical Variable

We’ll create a percent frequency distribution for the feedback category variable.

Steps:

➤ Select any cell within the dataset >> Insert >> PivotTable.

Selecting PivotTable in the Insert tab

➤ Choose Existing Worksheet >> Location (F2) >> OK.

Choosing existing worksheet option

➤ Drag the feedback category field into the Rows area and Values area.

Dragging fields into the Rows and Values area

➤ Select any cell in the count of feedback category column >> Right-click >> Show Values As >> % of Grand Total.

Show values as % of grand total to make percent frequency distribution in Excel

➤ The percent frequency distribution is ready.

percent frequency distribution for categorical variable


Percent Frequency Distribution: Numerical Variable

Similarly, let’s create a percent frequency distribution for the satisfaction score variable.

Steps:

➤ Create a PivotTable like before >> Drag the satisfaction score field in the Rows and Values areas >> Click the drop-down arrow >> Value Field Settings.

Changing value field settings of the fields

➤ Choose the Count option >> OK.

Summarize value field by count

➤ Select any cell in the count of satisfaction score column >> Right-click >> Show Values As >> % of Grand Total.

Show values as % of grand total to make percent frequency distribution in Excel

➤ This completes the percent frequency distribution.

Percent frequency distribution table for numerical variable


2

Create Percent Frequency Distribution with Excel Functions

You can also use built-in Excel functions to construct a percent frequency distribution. Follow the steps depending on the newer or earlier versions of Excel.

Newer Versions of Excel

The newer version of Excel includes the UNIQUE and FREQUENCY functions. Let’s see them in action.

Steps:

➤ Select the output cell (A19) and enter the formula to sort the unique values from smallest to largest.

=SORT(UNIQUE(C2:C16))

Using SORT and UNIQUE function

➤ Use the FREQUENCY function to count the number of occurrences. Press  Ctrl+Shift+Enter .

=FREQUENCY(C2:C16,A19#)
Note: The pound symbol (#) is a spill range operator. It represents the entire array (A19:A23) returned by the UNIQUE function. The last row (B24) is the overflow bin.

Using FREQUENCY function

➤ Calculate the percent frequency distribution with this formula. Change the number formatting to percentage.

=B19/SUM($B$19#)

Note: The pound symbol (#) indicates the dynamic array (B19:B24). Press the  F4  key to lock the cell reference inside the SUM function.

Percent frequency distribution formula

➤ Apply the Fill Handle tool to complete the percent frequency distribution.

Using Fill Handle tool


Earlier Versions of Excel

Users of earlier versions of Excel need to perform Advanced filtering and sorting and then use the COUNTIF function.

Steps:

➤ Go to the Data tab >> Sort & Filter >> Advanced.

Advanced Sort & Filter in the Data tab

➤ Select Copy to another location >> List range (C2:C16) >> Copy to (A19) >> Check Uniques records only >> OK.

Inputs for Advanced filter

➤ Select the unique values >> Right-click >> Sort >> Sort Smallest to Largest.

Sort Smallest to Largest

➤ Choose Continue with the current selection >> Sort.

➤ Use the COUNTIF function to get the count of occurrence.

=COUNTIF($C$2:$C$16,A19)

Note: Insert dollar signs to lock the cell reference of the range argument.

Using COUNTIF function

➤ Calculate the percent frequency distribution >> Use the Fill Handle to copy the formula to the cells below >> Apply percentage formatting.

=B19/SUM($B$19:$B$23)

Percent frequency distribution formula


FAQ

How do I calculate the percent frequency?

➤ Use the COUNTIF function to calculate the frequency of a category.
➤ Divide each frequency by the total number of observations and multiply by 100.

What is the formula for relative frequency?

Relative frequency =f/n.

Here f is the frequency of a specific observation and n is the total frequency.

How do you calculate cumulative frequency in Excel?

Cumulative frequency: =SUM($A$1:A1). Apply the Fill Handle tool to obtain the cumulative summation.

What is the frequency formula in Excel?

=FREQUENCY(data_array, bins_array)

How can I calculate frequency distribution?

To calculate frequency distribution:

➤ Define the bins.
Enable Data Analysis ToolPak: File >> Options >> Excel Add-ins >> Data Analysis.
➤ Go to the Data tab >> Data Analysis >> Histogram >> Input range >> Bin range >> Output range >> OK.


Wrapping Up

In this tutorial, we’ve learned to make a percent frequency distribution in Excel using PivotTable and Excel features & functions. Feel free to download the practice file and let us know which method you like the most.

ExcelInsider Team
We will be happy to hear your thoughts

Leave a reply