=SEQUENCE(3,2) when entered in a cell?=SEQUENCE(3,2)
The formula =SEQUENCE(3,2) creates a 3-row by 2-column array. It fills numbers starting at 1, going down the first column, then continuing to the next column. So the numbers go 1, 2, 3 in the first column and 4, 5, 6 in the second.
The formula =SEQUENCE(1,5,10,3) creates 1 row and 5 columns, starting at 10 and increasing by 3 each time: 10, 13, 16, 19, 22.
=SEQUENCE(4,1,20,-5) creates 4 rows and 1 column, starting at 20 and subtracting 5 each step: 20, 15, 10, 5.
=SEQUENCE(0,3) in a cell?=SEQUENCE(0,3)
The SEQUENCE function requires the number of rows and columns to be positive integers. Zero rows is invalid and causes a #VALUE! error.
=SEQUENCE(4,3,5,2) generate in total?=SEQUENCE(4,3,5,2)
The formula creates 4 rows and 3 columns, so total numbers = 4 × 3 = 12.
