FormulaCraft

How to create a sequential list of numbers in Excel and Google Sheets

Topic:Data cleaning & shaping

Heads up: Excel and Google Sheets do this differently.

Excel
=ROW(A1)
Google Sheets
=SEQUENCE(5,1,1,1)

Verified example

Computed by a real spreadsheet engine on the sample data below.

#

=ROW(A1)1

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1Fill handle: Type 1 in A1, 2 in A2, select both, and drag the fill handle down — Excel and Sheets both detect the pattern and continue the series.
  2. 2Formula (Excel / any version): In A1 type =ROW(A1) and copy down — always returns the row number of its own argument, giving 1, 2, 3, … regardless of where it's placed.
  3. 3Formula (Google Sheets / Excel 365): Use =SEQUENCE(10,1,1,1) in one cell to spill 10 sequential numbers starting at 1 with a step of 1 — adjust arguments as needed.

Tips

Need the Google Sheets version instead? Open Sheets variant in workspace →

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I create a list from 1 to 100 instantly?

In Sheets or Excel 365 use =SEQUENCE(100) — it spills all 100 numbers automatically. In older Excel, type 1, select A1:A100, and use Fill → Series.

Can I create a sequential list with even or odd numbers only?

Yes — use SEQUENCE with a step of 2: =SEQUENCE(5,1,2,2) gives 2, 4, 6, 8, 10 (evens) or =SEQUENCE(5,1,1,2) gives 1, 3, 5, 7, 9 (odds).

More on Data cleaning & shaping

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: