What is SEQUENCE in Google Sheets?

SEQUENCE returns a grid of sequential numbers. You set how many rows and columns, the starting value, and the step between values. It replaces manual 1, 2, 3 fill patterns and pairs well with MAP, LAMBDA, and date math for generated row labels.

When to use it

Use SEQUENCE for row numbers, week indexes, amortization period counters, or any template that needs a fixed count of ascending values.

When to skip it

Skip SEQUENCE when values are irregular or come from another table. Reference the real source column instead.

How it works

  1. 1

    Choose row count as the first argument, for example 12 for twelve months.

  2. 2

    Set column count to 1 for a single column list or more for a matrix.

  3. 3

    Pass start value and step, such as SEQUENCE(10, 1, 100, 10) for 100, 110, ...

  4. 4

    Place the formula where the spill will not overwrite data.

  5. 5

    Combine with EDATE or DATE to turn index columns into month series.

  6. 6

    Use MAKEARRAY when you need custom logic per cell instead of simple increments.

Examples in Google Sheets

Row IDs

=SEQUENCE(COUNTA(A2:A)) assigns 1 through n beside a variable-length list in column A.

Ten percent steps

=SEQUENCE(11, 1, 0, 0.1) builds 0, 0.1, 0.2, through 1 for a sensitivity table header.

Month index

=EDATE(DATE(2024,1,1), SEQUENCE(12)-1) generates twelve month-start dates in one column.

Build this without starting from a blank cell

Use a Better Sheets tool for SEQUENCE, then watch a walkthrough when you want the full pattern.

Better Sheets resources

Common mistakes

  • SEQUENCE row count hard-coded while source data grows, leaving new rows without IDs.
  • Using SEQUENCE where ROW() on a filtered list would misalign numbers.
  • Forgetting step can be negative for countdown columns.
  • Spilling a huge SEQUENCE on a busy tab without checking performance.
  • Mixing text start values without VALUE conversion.

Frequently asked questions

SEQUENCE vs ROW?
ROW returns the sheet row index. SEQUENCE builds a custom count and step independent of position.
Can SEQUENCE make dates?
Combine with DATE or EDATE on the sequence output rather than expecting SEQUENCE alone to output dates.
Two-dimensional SEQUENCE?
Set both row and column counts greater than one for a number matrix.
SEQUENCE with MAP?
MAP can transform each generated index into richer calculated values.
Why #REF! on SEQUENCE?
Usually a blocked spill range, not the SEQUENCE math itself.
SEQUENCE and LAMBDA?
Common in advanced templates that loop indexes through custom formulas.
Empty step argument?
Omitted step defaults to 1. Specify explicitly when you need decimals or negatives.

Related Tutorials

Watch how SEQUENCE works

Browse more tutorials
Iterate Numbers with a Simple Apps Script

Iterate Numbers with a Simple Apps Script

You're joining a company and they have some Google Sheets already create...
Spreadsheet Automation 101: Functions

Spreadsheet Automation 101: Functions

Get introduced to Apps Script functions and functions syntax. Learn how ...
Created a GPT function in Sheets

Created a GPT function in Sheets

Unlock the Power of OpenAI: Create Ultimate GPT Prompts for Seamless Int...
Spreadsheet Automation for Beginners

Spreadsheet Automation for Beginners

I start off this video with the idea to show beginners how to automate e...
Embed a Number in a Website from a Google Sheet

Embed a Number in a Website from a Google Sheet

Ever wanted to display some data from a google sheet on your site? Witho...
How to Insert Multiple Rows in Google Sheets (Easy to Hard)

How to Insert Multiple Rows in Google Sheets (Easy to Hard)

Learn how to add multiple rows to your google sheets by hand, and automa...

Related blog posts

Guides that explain SEQUENCE in more depth.

Browse the blog

Related glossary terms

Done reading about SEQUENCE?

Membership unlocks 636+ tutorials, unlimited generators, and every template. Practical lessons. Zero fluff.

Need this once

Jump to a free tool or a single tutorial for this topic.

Learning Sheets for real

Unlock the full library, generators, and templates with membership.