In Excel: in Excel 365 or 2021+, =SEQUENCE(10) spills 1 through 10 down a column in one formula; in any version, type 1 in the first cell and 2 in the next, select both, and drag the fill handle down — Excel continues the pattern automatically. This is not a job for =VALUE(A1), which only converts text that looks like a number into a real number and generates no sequence at all. 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 page7
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.
In Excel 365 or 2021+, type =SEQUENCE(10) in a cell — it spills a 10-row column of 1 through 10 automatically; use =SEQUENCE(1,10) for a row instead, or add start/step arguments for a different range or increment.
In any Excel version, type the first two numbers of the sequence in adjacent cells to establish the step.
Select both cells and drag the fill handle down (or across) through the target range.
For a long range, use Home ▸ Fill ▸ Series instead of dragging: select the full destination range, enter the starting number in the first cell, then Home ▸ Fill ▸ Series ▸ set Step value and Stop value ▸ OK.
Do not use =VALUE(A1) here — it converts a single piece of numeric-looking text into a number and creates no sequence whatsoever.
What this does
SEQUENCE() is a dynamic array function that generates a full run of numbers from one formula: =SEQUENCE(rows,[columns],[start],[step]) spills the results into as many cells as needed, and the whole block updates together if the formula changes. The fill handle takes a different, non-formula approach: give it two cells that establish a step (1 and 2, or 5 and 10), select both, and drag — Excel detects the pattern and continues it as static values, not a live formula. Home ▸ Fill ▸ Series offers the same fill-handle result through a dialog instead of a drag, with explicit Step value and Stop value fields, useful when the range is too long to drag comfortably. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “create a number sequence in excel”. Start on a copy or a tiny sample, keep the affected cells 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
To number 50 rows 1 through 50: in Excel 365, =SEQUENCE(50) in A1 spills 1 through 50 down the column automatically. In an older Excel without SEQUENCE, type 1 in A1, 2 in A2, select A1:A2, and drag the fill handle down to A50 — Excel continues 3, 4, 5… to 50. Or select A1:A50, type 1 in A1, then Home ▸ Fill ▸ Series ▸ set Step value to 1 and Stop value to 50 ▸ OK, filling the whole selection in one dialog instead of a drag. ID columns, row-numbering that survives sorting and filtering, and test data all need a plain run of numbers, and the fastest method depends entirely on which Excel version is running — SEQUENCE() when it is available, the fill handle everywhere else. 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 “create a number sequence in excel”, 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
- Dragging the fill handle from a SINGLE starting cell and getting the same number repeated instead of a sequence — the fill handle needs two cells to detect the step; one cell just copies.
- Reaching for
=VALUE(A1), which has nothing to do with generating a sequence — it only converts an existing numeric-looking text string into a real number, and does nothing if there is no text to convert in the first place. - Using
=SEQUENCE()in a version of Excel before 365/2021 and getting a#NAME?error — it is not available in Excel 2019, 2016, or earlier perpetual-license versions. - Typing a
SEQUENCE()formula into a cell that already has content directly below it —SEQUENCE()needs empty cells to spill into, and returns a#SPILL!error if anything is in the way.
Frequently asked questions
What is the fastest way to create a number sequence in Excel?
In Excel 365/2021+, =SEQUENCE(10) generates 1 through 10 in one formula. In any version, type 1 and 2, select both, and drag the fill handle.
Why does SEQUENCE() give a #NAME? error?
SEQUENCE() only exists in Excel 365 and Excel 2021 or later. Perpetual-license Excel 2019/2016 and earlier do not have it — use the fill handle or Fill ▸ Series instead.
Does Google Sheets have SEQUENCE()?
Yes — =SEQUENCE(10) works identically in Sheets, spilling 1 through 10 down a column with the same optional rows/columns/start/step arguments as Excel. Sheets also supports the fill-handle method: type 1 and 2 in adjacent cells, select both, and drag the small blue square at the corner (Sheets' equivalent of Excel's green fill handle) to continue the pattern.
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.
Other ways people ask this
On the way here you may have searched this as “how to create a number sequence in excel formula”, “how to make number sequence in excel”, “how to create a sequence of numbers in excel” and “how to create number sequence in excel” — it is all the same task, and this page is the single, complete answer to it.
Why do people search for this in so many different ways?
Because the same task has many names. “how to create a number sequence in excel formula”, “how to make number sequence in excel”, “how to create a sequence of numbers in excel” all point at the one operation explained on this page, which is why they all lead here.