FREQUENCY function
Returns a frequency distribution as a vertical array
Syntax
FREQUENCY(data_array, bins_array)Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|---|---|
| data_array | Yes | An array of or reference to a set of values for which you want to count frequencies. If data_array contains no values, FREQUENCY returns an array of zeros.A2:A10 |
| bins_array | Yes | An array of or reference to intervals into which you want to group the values in data_array. If bins_array contains no values, FREQUENCY returns the number of elements in data_array.B2:B4 |
Try FREQUENCY
Bin counts with overflow
=FREQUENCY({1;2;4;5},{2;4})The bins are <=2, then >2 and <=4, followed by >4. The complete spill is 2, 1, 1.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
FREQUENCY · top-level call
=FREQUENCY({1;2;4;5},{2;4})1 / 2 · data_array
An array of or reference to a set of values for which you want to count frequencies. If data_array contains no values, FREQUENCY returns an array of zeros.
FREQUENCY reference ↗Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.