Syntax
| Parameter | Description |
|---|---|
| rows | Parameter of the SEQUENCE function. |
| [columns] | (Optional.) Parameter of the SEQUENCE function. |
| [start] | (Optional.) Parameter of the SEQUENCE function. |
| [step] | (Optional.) Parameter of the SEQUENCE function. |
Examples
Simple numbered list
=SEQUENCE(10)
Month numbers as a row
=SEQUENCE(1, 12)
Even numbers from 0 to 18
=SEQUENCE(10, 1, 0, 2)
Common Errors
Rows or columns is not a positive integer, or any argument is non-numeric.
The resulting array would be too large to fit in the worksheet.
Tips
Use =SEQUENCE(30, 1, DATE(2026,1,1), 1) to generate 30 consecutive dates starting from January 1, 2026. Format the cells as dates.
Combine with SEQUENCE in both dimensions: =SEQUENCE(10,1,1,1) * TRANSPOSE(SEQUENCE(10,1,1,1)) creates a 10x10 multiplication table.
Before SEQUENCE existed, people used ROW(INDIRECT("1:10")) to generate number series. SEQUENCE is cleaner, faster, and more flexible.
Try SEQUENCE in Viztab
Import your data and use SEQUENCE with 370+ other formulas. No signup required.
Open Viztab