Excel FREQUENCY Function
The FREQUENCY function calculates and returns a frequency distribution, which is a vertical array of numbers that represent how often values occur within the ranges you specify in a bin range.
Syntax
=FREQUENCY(data_array, bins_array)
Arguments
- data_array (required): An array of values for which you want to determine frequencies. If data_array contains no values, FREQUENCY will return an array of 0s.
- bins_array (required): An array of intervals for grouping values. If bins_array contains no values, FREQUENCY will return the number of items in data_array.
Return Value
The FREQUENCY function returns a vertical array of frequencies.
Function Notes
- If you are using the Excel versions that are prior to Microsoft 365, you should select the output range first, then enter the FREQUENCY formula in the top cell of the output range, and then press Ctrl + Shift + Enter to apply the function. For the users of Microsoft 365 and newer versions of Excel, you can just enter the formula in a cell, and then press Enter.
- FREQUENCY returns an array with one more item than the items in bins_array. The extra item represents the frequency of any values greater than the largest value in the bins_array. Therefore, the output range you select should be one item greater than bin_array if you want to include the extra item. Otherwise, select the same size as the bin_array.
- FREQUENCY ignores blank cells and text.
Example
As shown in the table below, we have a list of values and a list of bins. To group the values into the intervals, you should select an output range of five vertically adjacent cells, then copy or enter the formula below in the top cell of the output range, and press Ctrl + Shift + Enter to get the result:
=FREQUENCY({81;96;59.9;77;84;62;65;90.5;100;93;110},{60;80;90;100})
Or, use cell references to make the formula dynamic:
=FREQUENCY(B4:B14,D4:D7)
Related functions
The MODE.MULT function returns a vertical array of the most frequently occurring numbers in a set of numbers.
The MODE.SNGL function returns the most frequently occurring number in a set of numbers.
The Best Office Productivity Tools
Kutools for Excel - Helps You To Stand Out From Crowd
Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...
Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)
- One second to switch between dozens of open documents!
- Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
- Increases your productivity by 50% when viewing and editing multiple documents.
- Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.