SEQUENCE Function in Excel: Generate a List of Numbers or Dates

SEQUENCE Function in Excel: Generate a List of Numbers or Dates featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 28 September 2026

Dynamic ArrayLevel: ExpertAvailable in: Excel 365 / 2021+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Example 2
  5. Example 3
  6. SEQUENCE in practice
  7. Where you will use it
  8. Worked example
  9. Mistakes people make
  10. Related functions
  11. Continue learning

SEQUENCE creates a spilled list of numbers β€” serial numbers, calendars, repeating patterns.

Advertisement

Syntax

=SEQUENCE(rows, [columns], [start], [step])
Argument What it means
rows, columns Size of the result.
start, step First value and increment.

Examples

Example 1

=SEQUENCE(10)

1 to 10 down a column.

Example 2

=SEQUENCE(12, 1, DATE(2025,4,1), 31)

Approximate month starts (wrap in EOMONTH for exact ones).

Example 3

=EOMONTH(DATE(2025,3,1), SEQUENCE(12))

The 12 month-ends of FY 2025–26.

SEQUENCE in practice

Where you will use it

  • Serial numbers that grow with data
  • Month lists and calendars
  • Test data

Worked example

CountFormulaResult
5=ARRAYTOTEXT(SEQUENCE(A2,1,10,10))10, 20, 30, 40, 50
3=ARRAYTOTEXT(SEQUENCE(A3,1,10,10))10, 20, 30
4=ARRAYTOTEXT(SEQUENCE(A4,1,10,10))10, 20, 30, 40

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Spill blockedClear the cells below
DatesSEQUENCE(12,1,DATE(2026,4,1),31) drifts; use EDATE

RANDARRAY Β· ROW Β· EOMONTH

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Dynamic arrays18 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 35 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free Β· AI can be wrong