In Excel: use =SEQUENCE(rows, columns, start, step) — it generates a spilled block of consecutive numbers from one formula. Function availability: SEQUENCE: Excel 2021+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.
On this page8
Syntax
Arguments
| Argument | required / optional | Description |
|---|---|---|
rows | required | How many rows of numbers to generate. |
columns | optional | How many columns. Defaults to 1. |
start | optional | First value. Defaults to 1. |
step | optional | Increment between values. Defaults to 1. Negative counts down. |
Related functions
Function availability: SEQUENCE: Excel 2021+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.
Click a cell with empty space for the whole block you are about to generate.
Type =SEQUENCE( and enter how many rows you want.
Add the column count, the starting value and the step, as needed.
Press Enter, and format the result as dates if you started from one.
What this does
SEQUENCE produces a run of numbers as a spilled array. Because Excel stores dates as numbers, it is also the shortest way to build a date series: starting from a date and stepping by 1 gives consecutive days, which is how a calendar column or a project timeline gets built without dragging a fill handle. Its second common use is feeding other array functions — supplying the k argument to LARGE for a top-n list, or the row indices to INDEX. A step of -1 counts down. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “sequence formula in excel 1 to 100”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a workflow that saves repeating the same clicks every week, but the practical win is that someone else can open the file and understand what happened without asking you.
A worked example
Thirty consecutive dates from a start in A1: =SEQUENCE(30, 1, A1, 1), formatted as dates. Twelve month-start dates: =EOMONTH(A1, SEQUENCE(12, 1, -1, 1))+1. A top-five list in one formula: =LARGE(B2:B500, SEQUENCE(5)). A 4×3 grid numbered 1 to 12: =SEQUENCE(4, 3). SEQUENCE replaces the drag-to-fill for any regular series, and a series that is a formula updates when its start does. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.
In Google Sheets
Function availability: SEQUENCE: Excel 2021+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “sequence formula in excel 1 to 100”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.
Common mistakes
- Forgetting to format a date sequence, which shows serial numbers.
- Generating a block larger than the empty space available, which returns
#SPILL!. - Using it in Excel 2019 or earlier, where it does not exist.
Frequently asked questions
How do I generate a list of dates?
=SEQUENCE(30, 1, start_date, 1) gives thirty consecutive days. Format the result as dates.
How do I count down instead of up?
Use a negative step: =SEQUENCE(10, 1, 100, -10).
Can it make a grid rather than a column?
Yes — the second argument is the column count: =SEQUENCE(4, 3) returns a 4×3 block.
Which Excel release does this formula require?
Function availability: SEQUENCE: Excel 2021+. These are Microsoft's version markers; earlier perpetual releases do not include these functions. Check the actual product and update channel before using the formula. A marker does not establish an identical Web/Mac workflow or Google Sheets support.