How to Create a Grouped Frequency Distribution in Excel (3 Easy Ways)

We will use a dataset that contains information about the Marks of some students. We will create a grouped frequency distribution and show it in a chart or graph.


Method 1 – Excel Functions to Get a Grouped Frequency Distribution

Case 1.1 – Apply the FREQUENCY Function

The FREQUENCY function determines how often a value appears in a range. It has two compulsory arguments: the data array and the bins array. You need to enter the dataset in place of the data array and the upper limit in place of the bins array.

STEPS:

  • Choose the upper and lower limits and enter them in your dataset.
  • We have grouped the marks by 10. The starting group is 31-40 where the lower limit is 31 and the upper limit is 40. In Excel, these groups are called bins. We have a total of 7 bins here.

Excel Functions to Get a Grouped Frequency Distribution

  • Select Cell G5 and insert this formula:
=FREQUENCY(C5:C15,F5:F10)

Excel Functions to Get a Grouped Frequency Distribution

  • Press Ctrl + Shift + Enter to see the frequency distribution.

Excel Functions to Get a Grouped Frequency Distribution

  • Select the upper limits.

Excel Functions to Get a Grouped Frequency Distribution

  • Go to the Insert tab and click on the Insert Column icon.
  • Select the Clustered Column icon. A chart will appear on the sheet.

Excel Functions to Get a Grouped Frequency Distribution

  • Right-click on the chart and click on Select Data. It will open the Select Data Source dialog box.

Excel Functions to Get a Grouped Frequency Distribution

  • In the Select Data Source dialog box, enter the Frequency in the Legend Entries section.
  • Click on Edit in the Horizontal Axis Labels section.

Excel Functions to Get a Grouped Frequency Distribution

  • Select the Lower and Upper limits like the picture below and click OK to proceed.

Excel Functions to Get a Grouped Frequency Distribution

  • The Select Data Source dialog box will look like this.
  • Click OK.

Excel Functions to Get a Grouped Frequency Distribution

  • You will see the frequency on a graph.

Excel Functions to Get a Grouped Frequency Distribution


Method 1.2 – Insert the COUNTIFS Function

STEPS:

  • Select Cell G5 and type the formula:
=COUNTIFS($C$5:$C$15,">="&E5,$C$5:$C$15,"<="&F5)
  • Press Enter to see the results.

Excel Functions to Get a Grouped Frequency Distribution

Here, the COUNTIFS function counts the occurrence of marks in the range C5:C15 when it’s greater than E5 and less than F5.

  • Use the Fill Handle down to copy the formula.

Excel Functions to Get a Grouped Frequency Distribution

  • You will see results like the picture below.

Excel Functions to Get a Grouped Frequency Distribution

  • You can also generate a plot to represent the frequencies by following the previous case.

Excel Functions to Get a Grouped Frequency Distribution

Read More: How to Make Frequency Distribution Table in Excel


Method 2 – Create a Grouped Frequency Distribution with an Excel Pivot Table

STEPS:

  • Select the Name and Marks of the students. We have selected Cell B5 to C15.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • Go to the Insert tab and select PivotTable. A dialog box will pop up.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • Click OK to proceed. A new worksheet and PivotTable Fields will appear.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • In the PivotTable Fields section, click on Marks and drag it to the Rows & Values sections.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • Click on Sum of Marks and select Value Field Settings.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • In the Value Field Settings dialog box, select Count and click on OK.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • Right-click on Cell A4 and select Group from the drop-down menu.

Create a Grouped Frequency Distribution with Excel Pivot Table

  • Input the Starting point, Ending point, and the Group By value. We want to group them by 10.

  • Click OK to see the groups and frequencies.

  • Select the data and go to the Insert tab.
  • Select the Insert Column icon and click on the Clustered Column icon.

  • You will get a chart of the groups and frequencies.

Read More: How to Find Mean of Frequency Distribution in Excel


Method 3 – Apply a Histogram to Create a Grouped Frequency Distribution in Excel

STEPS:

  • Go to the Data tab and select Data Analysis.

  • Select Histogram from the Data Analysis message box and click OK.

  • Insert the Input Range and Bin Range and check Chart Output.
  • Click OK.

  • You will see the Upper Limit of the groups and the Frequencies both in a table and chart.

Read More: How to Make a Relative Frequency Histogram in Excel


Download the Practice Workbook


Related Articles


<< Go Back to Frequency Distribution in Excel | Excel for StatisticsLearn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mursalin Ibne Salehin
Mursalin Ibne Salehin

Mursalin Ibne Salehin holds a BSc in Electrical and Electronics Engineering from Bangladesh University of Engineering and Technology. Over the past 2 years, he has actively contributed to the ExcelDemy project, where he authored over 150 articles. He has also led a team with content development works. Currently, he is working as a Reviewer in the ExcelDemy Project. He likes using and learning about Microsoft Office, especially Excel. He is interested in data analysis with Excel, machine learning,... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo