How to Create a Number SEQUENCE in Excel

If you just need to create a number sequence in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

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.

On this page7
Annotated stepsExcel
1

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.

2

In any Excel version, type the first two numbers of the sequence in adjacent cells to establish the step.

3

Select both cells and drag the fill handle down (or across) through the target range.

4

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.

5

Do not use =VALUE(A1) here — it converts a single piece of numeric-looking text into a number and creates no sequence whatsoever.

=SEQUENCE(10)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

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 tool above 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. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.

In Google Sheets

Some functions on this page are newer additions to Excel: they are in current Microsoft 365 and Excel for the web, while older perpetual Excel versions return #NAME?. Google Sheets maintains its own function list, so confirm each function exists there before relying on the same formula. 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. If you take one thing from this page on “create a number sequence in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.

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.

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.