SEQUENCE spills a list of numbers from a single formula — 1 to 100, a column of dates, a multiplication grid. It replaces the old “type 1, 2, fill down” routine with one live, resizable formula.
SEQUENCE(rows, [cols], [start], [step]) — here 10 rows, defaulting to start 1, step 1.
The example
One formula spills a numbered list; change the count in a cell and it resizes.
| A | B | |
|---|---|---|
| 1 | =SEQUENCE(5) | =SEQUENCE(3,1,10,5) |
| 2 | 1 | 10 |
| 3 | 2 | 15 |
| 4 | 3 | 20 |
| 5 | 4 | |
| 6 | 5 |
The formula
A list, and a custom start/step:
How it works
Four arguments shape the list:
rows— how many down (5spills five cells vertically).cols— how many across (omit for a single column).startandstep— the first value and the increment.SEQUENCE(3,1,10,5)starts at 10 and steps by 5.- The whole list spills from one cell and recalculates if you point the count at a cell, e.g.
SEQUENCE(A1).
SEQUENCE drives other dynamic-array formulas. It feeds row numbers to MAKEARRAY, dates to a calendar (=startDate + SEQUENCE(30) - 1), or indexes to pull every nth item — it’s the engine behind many spill tricks.
Try it: interactive demo
Set count, start, and step; see the spilled list.
Variations
A grid of numbers
Rows and columns together:
A month of dates
Add SEQUENCE to a start date:
Reverse / countdown
A negative step counts down:
Pitfalls & errors
#SPILL! Something blocks the cells the list needs. Clear the range below/right of the formula.
SEQUENCE needs Excel 365. Excel 2021 has many dynamic arrays but not SEQUENCE; 2019 and older show #NAME?. Use ROW()-based fills there.
Huge counts are slow. SEQUENCE(1000000) spills a million cells — only ask for what you need.
Practice workbook
Frequently asked questions
How do I generate a list of numbers in Excel?
How do I make a sequence of dates?
Does SEQUENCE work in Excel 2021?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class