### FREQUENCY Function Excel

##### Associated Files Download Links

In this Article

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:

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:

1 |
=FREQUENCY(data_array,bins_array) |

### 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

## FREQUENCY Examples in VBA

You can also use the FREQUENCY function in VBA. Type:

`application.worksheetfunction.frequency(data_array,bins_array)`

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:

`=AND(`

After entering it in the cell, notice how the AND formula inputs appear below the cell:

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 **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

For more information about the FREQUENCY Formula visit the

Microsoft Website.