FREQUENCY Function Excel

This Excel Tutorial demonstrates how to use the Excel FREQUENCY Function in Excel to create a histogram, with formula examples.

FREQUENCY Function Description:

The FREQUENCY Function Calculates the frequency of values that fall within specified ranges. Returns a vertical array, containing counts of each “bucket”. Note: This is an Array Function. Read below for specific instructions for how to use this function.

Formula Examples:

frequency function examples

Example Formula Result
1 {=FREQUENCY(B5:B10,D5:D10)} 0
2 {=FREQUENCY(B5:B10,D5:D10)} 2
3 {=FREQUENCY(B5:B10,D5:D10)} 2
4 {=FREQUENCY(B5:B10,D5:D10)} 2
5 {=FREQUENCY(B5:B10,D5:D10)} 0
6 {=FREQUENCY(B5:B10,D5:D10)} 0

Syntax and Arguments:

The Syntax for the FREQUENCY Formula is:

Function Arguments ( Inputs ):

data_array – An array of numbers that you wish to count the frequency of.

bins_array – An array of intervals or “buckets” that you want to group the counts into.

Additional Notes


You can also use the FREQUENCY function in VBA. Type:
For the function arguments (data_array, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

How to use the FREQUENCY Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
frequency formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=FREQUENCY(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the frequency function in excel

For more information about the FREQUENCY Formula visit the
Microsoft Website.