How do I use SEQUENCE in Excel?
Use SEQUENCE when you want to generate sequences automatically. Enter Rows, Columns, Start in that order, then add optional arguments when needed.
Generates sequential numbers in an array.
SEQUENCE(rows, [columns], [start], [step])rows
RequiredEnter a numeric value.
columns
OptionalEnter a numeric value.
start
OptionalEnter a numeric value.
step
OptionalEnter a numeric value.
Use SEQUENCE to return the result with these settings (Rows: 5, Columns: 1, Start: 1, Step: 1).
| # | AProduct ID | BCategory | CProduct Name | DSales |
|---|---|---|---|---|
| 2 | P001 | Food | Apple | 1200 |
| 3 | P002 | Food | Banana | 980 |
| 4 | P003 | Stationery | Notebook | 450 |
| 5 | P004 | Stationery | Pen | 300 |
| 6 | P005 | Food | Grapes | 1500 |
| 7 | P006 | Stationery | Ruler | 250 |
| 8 |
How to Use (Formula)
=SEQUENCE(5, 1, 1, 1)Result
1 | 2 | 3 | 4 | 5
Use SEQUENCE when you want to generate sequences automatically. Enter Rows, Columns, Start in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into SEQUENCE drills.
The main arguments are Rows, Columns, Start, Step. Start with the required ones, then add optional arguments if needed.