SEQUENCE Function
Return an array of sequential numbers. rows and columns set the size of the array (1 column when columns is omitted), start_or_min is the first number and step_or_max the increment, both 1 when omitted; a negative step counts down. The array spills into the neighboring cells. A size of zero or less returns #NUM!. TX Sheet Control takes four arguments; the fifth name in the syntax, whole_number, is not accepted and returns #VALUE!.
Syntax
SEQUENCE(rows, columns, start_or_min, step_or_max, whole_number)
Category: Lookup. Minimum arguments: 1. Maximum arguments: 4.
Available for supported offline calculation.
Examples
=SEQUENCE(2,3,1,1)
The formula spills two rows and three columns: 1, 2, 3 in the first row and 4, 5, 6 in the second.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.