How to Make Frequency Distribution Table in Excel (3 Easy Ways)

A frequency distribution shows the frequency or number of observations within different intervals. You can use Excel functions, features, and add-ins to make a frequency distribution table.

Key Takeaways

➤ A frequency distribution shows the number of observations within different intervals or categories.
➤ Enable Data Analysis: File >> Options >> Excel Add-ins >> Data Analysis.
➤ Frequency table: Data tab >> Data Analysis >> Histogram >> Input range >> Output range >> OK.
➤ FREQUENCY function: =FREQUENCY(data_array, bins_array). For Excel 2019 or earlier versions use  Ctrl+Shift+Enter  to apply the formula. On Excel 365 or later versions just press  Enter .
➤ PivotTable: Insert >> PivotTable >> Field Settings >> Group.

Making frequency distribution table with FREQUENCY function

In this article, we’ll learn 3 ways to make a frequency distribution table in Excel using the Data Analysis ToolPak, the FREQUENCY function, and the PivotTable feature.

Download Practice Workbook

What is Frequency Distribution in Statistics?

A frequency distribution shows the number of observations (frequency) within different intervals (bins). It provides a quick way to visualize how the data points are distributed across each bin.

In this dataset, we have monthly visitors to a website in the year 2023. All the months in a year are shown in column A and the number of visitors is shown in column B.

Monthly visitors to a website dataset


1

Using Data Analysis ToolPak

The Data Analysis ToolPak can generate a frequency distribution table. Follow the steps.

Steps:

➤ First, we need to determine the maximum and minimum values in our data. The MAX function returns the maximum value (2800).

=MAX(B2:B13)

Determining maximum value with MAX function

➤ Use the MIN function to determine the minimum value (2300).

=MIN(B2:B13)

Determining minimum value with MIN function

➤ We can see the number of visitors range from 2300 to 2800.
➤ Construct suitable bin ranges as needed. For example, we’ve started from 2200 adding 100 to each consecutive bin.

=D2+100
Note: The first bin contains values less than or equal to 2200. The second bin includes the values from 2201 to 2300, and so on.

Making bin ranges for frequency distribution table

➤ We need to enable the Data Analysis add-in. Click on the File tab.

Clicking File tab

➤ Select Options. You can also use the shortcut  Alt+F+T  to open Excel Options.

Excel Options

➤ Select Add-ins >> Choose Excel Add-ins from the dropdown >> Go.

Choosing Excel Add-ins

➤ Check the Analysis ToolPak option >> OK.

Activating Analysis ToolPak option

➤ Go to the Data tab >> Click Data Analysis.

Data Analysis option in the Data tab

➤ Select Histogram >> OK.

Histogram option

➤ Select the Input Range (B1:B13) >> Bin Range (D1:D8) >> Check the Labels option.
➤ Choose the Output cell (F1) >> Tick Chart Output option >> OK.

Note: The chart output is optional. Selecting it will generate a histogram along with the frequency distribution table.

Entering options to to make frequency distribution table and histogram

➤ You’ll get the results as shown below.

Frequency distribution and histogram


2

Making Frequency Distribution Table with FREQUENCY Function

You can use the FREQUENCY function to make a frequency distribution table. You need to prepare the bin ranges before using this function. We’ll use the same bin ranges as before.

Steps:

➤ Select the output cell (E2) >> Enter the formula. For Excel 2019 or earlier versions, press the  Ctrl+Shift+Enter  keys. On Excel 365 or later versions, just press  Enter .

=FREQUENCY(B2:B13,D2:D8)
Note: This returns an array of frequencies corresponding to each bin range. The first bin has a frequency of zero meaning there are no observations in the 0 to 2200. The second bin has a frequency of 1, so there is 1 observation within 2201 to 2300. The last row (E9) is the overflow bin. Values greater than the maximum bin value (2800) will be included here.

Making frequency distribution table with FREQUENCY function

Optional Steps:

➤ Select the D1:E9 range >> Move to the Insert tab >> Recommended Charts.

Selecting Recommended Charts option in the Insert tab

➤ Choose Clustered Column >> OK.

Clustered column chart

➤ You’ll get the histogram of the frequency distribution table.

Results of the histogram of frequency distribution table


3

Using PivotTable to Construct a Frequency Distribution Table

We can also use Excel’s PivotTable feature to make a frequency distribution table.

Steps:

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

Inserting PivotTable

➤ Check Existing Worksheet >> Location (D1) >> OK.

Specifying PivotTable location

➤ Drag the visitors field in the Values and Rows areas.

Dragging fields in the Values and Rows areas

➤ Click any cell inside Sum of Visitors >> Right click >> Field Settings.

Selecting value field settings in the context menu

➤ Choose Count >> OK.

Summarize value field by count

➤ Select any cell inside the Row Labels >> Right click >> Group.

Choosing group option from context menu

➤ Excel automatically does the grouping. You can set it manually too. For example, we’ve set 2200 for the Starting at, 2900 for Ending at, and 100 for By.

Grouping values

➤ You’ll see the results shown below.

Frequency distribution table from PivotTable

Optional Step:

➤ Select the PivotTable range (D1:E7) >> Insert tab >> Recommended Charts >> Clustered Column.

Histogram of the frequency distribution table


FAQ

How to convert raw data into a frequency table in Excel?

➤ Enter the data into the worksheet.
➤ Specify the upper limit of the bins (groups).
➤ Use the FREQUENCY function. Select the data points for the data_array argument and the upper limits of the bins as the bins_array argument.
➤ Press  Ctrl+Shift+Enter  to spill the results.

What is the frequency formula in Excel?

The frequency formula: =FREQUENCY(data_array, bins_array). Press  Ctrl+Shift+Enter  to get the results.

How do I determine the number of bins for my frequency distribution?

The number of bins depends on the dataset size and range (difference between largest and smallest observation). A common rule of thumb is to use between 5 to 20 bins.

How to choose the bin size for frequency distribution?

➤ Determine the range of your data (difference between the largest and smallest observation).
➤ Divide the range into equal intervals.
➤ List only the upper limits of each bin.

Can I create a frequency distribution table with categorical data?

Yes, you can. Instead of bins, use the distinct categories. The frequency will be the count of occurrences of each category.


Wrapping Up

In this tutorial, we’ve learned about frequency distribution and how to make a frequency distribution table in Excel. 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