Frequency Distribution in Excel

How to Create Frequency Distribution in Excel?

Frequency distribution in excel is a calculation of the rate of a change happening over a period of time in the data; there are two methods to find the frequency distribution; first, we need to categorize our data in data sets, and then we can use the array formula frequency function or in the data analysis tab we can use the histogram tool to calculate the frequency distribution. There are two methods to do the same –

  1. Frequency Distribution in Excel using Formulas
  2. Frequency Distribution in Excel using Pivot Table
You can download this Frequency Distribution Excel Template here – Frequency Distribution Excel Template

#1 Create Frequency Distribution using Excel COUNTIF Formula

Let us learn this concept with the help of an example. In a corporate company, a yearly review was done, and everyone got a rating out of 10. There was a total of 50 employees rating done.

Below is the rating data for 50 employees

Frequency Distribution Example 2

Below are the steps for creating frequency distribution using COUNTIF function –

  1. Now, I need to check how many people got a rating from 4 to 6, 6 to 8, and 8 to 10. This time I am not applying a pivot table; rather, I will use the COUNTIF function to get the total. Before that, I have created frequency levels like this.

    Frequency Distribution Example 2-1

  2. I am going ahead and applying the COUNTIF function to get the total count. In cell E2, I mention the COUNTIF function, which counts all the numbers in range A2 to A52, which are less than or equal to 6.

    Frequency Distribution Example 2-2

  3. In cell E3, I have used the COUNTIFS function, which counts numbers if the number is greater than 6 but less than 8.

    Frequency Distribution Example 2-3

  4. In cell E4, use the COUNTIFS function”Use”COUNTIFSread more, which counts numbers if the number is greater than 8 but less than 10.

    Frequency Distribution Example 2-4

    Conclusion: Now, we have results here. 19 employees rating is between 4 to 6, 14 employees rating is between 6 to 8, and 18 employees rating is between 8 to 10.

#2 Frequency Distribution in Excel using Pivot Table

Let us learn this concept with the help of examples.

Example #1

Let me explain to you with an example of a Frequency distribution in Excel. I have units sold data with the price of the product.

Frequency Distribution Example 1

Here I need to know between 15 to 30 price range how many units sold, between 31 to 45 how many units sold, and so on.

  • Step 1: Select the data and apply a pivot table.
Frequency Distribution Example 1
Frequency Distribution Example 1-1
  • Step 2: Drag and drop Product Price heading to Rows and Units Sold to Values.
Frequency Distribution Example 1-2
  • Step 3: Now, the pivot summary report should like this.
Frequency Distribution Example 1-3
  • Step 4: Now right-click on the Product Price column and select Group.
Frequency Distribution Example 1-4
  • Step 5: Once you click on Group, it will open up the below dialogue box.
Frequency Distribution Example 1-5
  • Step 6: In the Starting at the box, mention 15 and ending at mention 147 and in By mention 15, because we are creating frequency for every 15th value. This is our first frequency range.
Frequency Distribution Example 1-6
  • Step 7: Click on the Ok. Pivot grouped values like 15 to 30, 31 to 45, 46 to 60, etc.
Example 1-7

Conclusion: Now we can analyze that the highest number of units sold when the price is between 15 to 29, i.e., 54819.

When the product price is between 30 to 44 units sold quantity is 53794 and similarly, the least number of products sold when the price is between 45 to 59, i.e., 10982.

Example #2

There was a survey on money spent on alcohol based on the age group. At different age groups, money spent on a monthly basis, I have the data. From this data, I need to find out which age group is spending more.

In this data, the smallest age is 15, and the highest age is 72. I need to find out between 15 to 30, 30 to 45, and 45 to 60, and so on.

Below is the data.

Example 2
  • Step 1: Apply the pivot table to this data. In ROWS put Age and for values put Amt Spent.
Example 2-1
  • Step 2: Now, the pivot summary report should like this.
Example 2-2
  • Step 3: Now right-click on the age in the pivot table and select Group. In starting at mention 15 and ending at 72 and By mention 15.
Example 2-3
  • Step 4: Click on the OK. It will group the age returns the sum for the age group.
Example 2-4

Conclusion: It is clear that the age group between 15 to 29 is spending more money on alcohol consumption, which is not a good sign.

But the age group 30 to 44 spend less on alcohol; maybe they have realized the mistake they did at their young age.

Things to Remember

Recommended Articles

This has been a guide to Frequency Distribution in Excel. Here we discuss how to create Frequency Distribution in Excel Using 1) Excel Formulas, 2) Pivot Table along with practical examples, and a downloadable excel template. You may learn more about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion