Excel like a finance pro.
← The libraryPractice · 4 questions →
Dynamic array function
SEQUENCE
Returns a spilled list of sequential numbers.
CommonDifficulty 1350 · AdvancedUsage rank #69 of 520
When to use it
Generates a list or grid of numbers with a start and step. It replaces ROW(A1:A10) tricks and feeds any function that wants a counter.
The shape of it
- Syntax
=SEQUENCE(rows, [columns], [start], [step])
- Example
=SEQUENCE(12,1,1)
Worked examples
A simple counter
=SEQUENCE(5) → {1;2;3;4;5}
One to five down a column.
Across a row
=SEQUENCE(1,12) → {1,2,…,12}
One row of twelve.
A grid
=SEQUENCE(3,3,10,10) → {10,20,30;40,50,60;70,80,90}
A 3 by 3 grid starting at 10 in steps of 10.
Worth knowing
- Pairs with DATE and EDATE to build a month list in one formula.
- Dates: =SEQUENCE(7,1,DATE(2025,1,1)) gives a week of dates.
- Month-ends: =EOMONTH(start,SEQUENCE(12,1,0)).
- Pick every other row: INDEX(range,SEQUENCE(n,1,1,2)).
Where it goes wrong
- #SPILL! when blocked.
- Negative steps count down; a zero step repeats the start.
Related
Learn the moves here — or let Wauvel run them on your numbers.
Meet your AI CFO →One CFO-grade Excel tip a week
A short, practical email for finance operators — functions, shortcuts, and the moves that save an afternoon. Free, unsubscribe anytime.