Contact

SEQUENCE Function in Google Sheets: Syntax, Examples & Compatibility

Array Intermediate Google Sheets

Learn how to generate an automatically expanding numbered sequence for rows, dates or IDs in Google Sheets. Includes syntax, two verified-by-reasoning results, troubleshooting and portability notes.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Google Sheets. How formula examples are checked

Quick answer: generate an automatically expanding numbered sequence for rows, dates or IDs in Google Sheets. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.

Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Google Sheets test results. A guide being published here does not certify every software release or file-import scenario.

Syntax and arguments

=SEQUENCE(rows, [columns], [start], [step])

The required rows sets height. Optional columns, start, and step control width, first value and increment.

Best use case: Generate an automatically expanding numbered sequence for rows, dates or IDs.

Set up the example sheet

Start in an empty portion of a sheet and leave the cells below and to the right empty, because the sequence returns an array rather than one number.

Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.

Worked example 1: SEQUENCE with known input

=SEQUENCE(3,2,10,5)

Expected output: 3 rows × 2 columns: 10, 15 / 20, 25 / 30, 35.

Six values begin at 10 and increase by five in row-major order.

Worked example 2: a second SEQUENCE case

=SEQUENCE(1,4)

Expected output: one row containing 1, 2, 3, 4.

The omitted starting value and step use 1.

Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.

Practical advice and troubleshooting

When this formula helps: To make rolling test data, combine SEQUENCE with a date serial or simple arithmetic, rather than manually copying a series.

Important edge case: A blocked spill area causes an array expansion error. Very large requested dimensions can consume substantial sheet space.

If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. An error that looks like a missing function may reflect a software version rather than incorrect data.

Compatibility and version considerations

SEQUENCE is a dynamic-array function in modern Excel, and is also listed by Google Sheets. It is not available in every older Excel release.

Microsoft documents SEQUENCE for Excel 365/2021/2024; Google Sheets supports SEQUENCE in its current function catalogue.

Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.

Editorial verification: Vendor catalogue referenced as of 2026-10-12. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.