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.
The FREQUENCY function returns a vertical array of frequencies.
- 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.
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:
Or, use cell references to make the formula dynamic: