FREQUENCY

FREQUENCY(arg1, arg2) → { number }

Calculates how often values occur within a range of values and then returns the first value of the returned vertical array of numbers.

Parameters:

Name Type Description
arg1 ApiRange | Array.<number>

An array of values or the selected range for which the frequencies will be counted (blanks and text are ignored).

arg2 ApiRange | Array.<number>

An array of intervals or the selected range into which the values in the first array will be grouped.

Returns:

Type
number