1. Home
  2. Functions
  3. Statistical
  4. FREQUENCY

FREQUENCY function

Counts how many values fall into each bin and returns a vertical list with one more entry than there are bins.

Syntax

=FREQUENCY(data_array, bins_array)

Arguments

ArgumentRequiredDescription
data_arrayRequiredThe values to count
bins_arrayRequiredThe upper limits of the bins

How to use FREQUENCY

When FREQUENCY returns more than one value, the result spills into the cells below and to the right. Keep those cells empty, or you get #SPILL!.

FREQUENCY takes 2 required arguments. Type =FREQUENCY( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=FREQUENCY({79,85,78,85,50,81,95,88,97}, {70;79;89})Result 4 by 1 array
Spilled result
A
11
22
34
42

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.