ExcelExcel 2021+
SEQUENCE function in Excel
Generates a list of sequential numbers in an array, such as 1, 2, 3, 4
=SEQUENCE(rows, [columns], [start], [step])SEQUENCE syntax and parameters
Four arguments, one required.
- rowsnumberRequired
The number of rows to return
- columnsnumberOptional
The number of columns to return
- startnumberOptional
The first number in the sequence
- stepnumberOptional
The amount to increment each subsequent value in the array
SEQUENCE examples
Formulas you'll actually reuse.
Month numbers 1–12 for a projection table, no typing:
=SEQUENCE(12)A 4×3 grid of price points starting at 100, stepping by 25:
=SEQUENCE(4, 3, 100, 25)
SEQUENCE in Google Sheets
Same name — your formula ports as-is.
Try SEQUENCE in the playground
Edit the example — nothing to install.
Preloaded with the SEQUENCE formula from Example 1 — change anything and watch it respond.
Loading the editor…
Related functions
More ways Excel gets this done.
- CSCReturns the cosecant of an angleMathGoogle Sheets
- AVERAGEIFReturns the average (arithmetic mean) of all the cells in a range that meet a given criteriaStatisticalGoogle Sheets
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- FILTERFilters a range of data based on criteria you defineLookupGoogle Sheets
- FINDFinds one text value within another (case-sensitive)TextGoogle Sheets
- FLOORRounds a number down, toward zeroCompatibilityGoogle Sheets