New: ready-to-use spreadsheet templatesExplore the collection  →
Home/Formulas/SEQUENCE
ARRAY & DATA · GOOGLE SHEETS

SEQUENCE
create a sequential array of numbers.

Use SEQUENCE to generate month numbers automatically. This guide shows the exact structure, a working example and the mistakes most likely to break it.

JosephineVerified by JosephineReviewed July 25, 2026
THE FORMULA=SEQUENCE(rows, [columns], [start], [step])
A

rowsnumber of rows

B

columnsoptional columns

C

startfirst number

D

stepincrement

TRY IT YOURSELF

Change the sheet.
Watch the answer update.

Edit any highlighted cell below. The example recalculates immediately.

LIVE PLAYGROUND=SEQUENCE(12,1,1,1)
fx=SEQUENCE(12,1,1,1)
A · ROWSB · START
2
3
4
5
RESULT1, 2, 3, 4, 5, 6, 7, 8 …Updates live

Try changing a value above. This example runs entirely in your browser.

IN PLAIN ENGLISH

How the formula
thinks.

  1. 01

    rowsnumber of rows

  2. 02

    columnsoptional columns

  3. 03

    startfirst number

  4. 04

    stepincrement

COMMON FIXES

When SEQUENCE
doesn’t behave.

WRONG RESULT

Wrong result

Check that every range starts and ends on the same rows, and that numbers are stored as numbers.

FORMULA PARSE ERROR

Formula parse error

Check commas, quotation marks and closing parentheses. Your locale may use semicolons instead of commas.

UNEXPECTED BLANKS

Unexpected blanks

Test the source cells for hidden spaces, empty strings and inconsistent data types.

fxNeed help with SEQUENCE?Fix my formula →