The SEQUENCE function generates a list of sequential numbers as a spillable array, and getting the syntax right means writing =SEQUENCE(rows, [columns], [start], [step]) with the arguments in that order and only the first one mandatory. This guide walks through the exact syntax, worked examples, and the errors that trip people up most often. SEQUENCE is available in Excel for Microsoft 365, Excel for the web, and Excel 2021 and later; older perpetual versions such as Excel 2019 do not have it at all, so a #NAME? error there is a version problem rather than a typing mistake. Labels in the Formulas tab and the function tooltips can differ slightly by version and region.

What You'll Need

  • Excel for Microsoft 365, Excel for the web, or a version from 2021 onward (SEQUENCE does not exist in Excel 2019 or earlier).
  • A worksheet with empty cells to the right and below your formula, because the result spills into neighbouring cells and needs room.
  • Familiarity with the comma separator versus the semicolon: in some regions the argument separator is a semicolon instead of a comma, and the function will not parse otherwise.
  • Optional but useful: an understanding of how dynamic arrays behave, including the spill range and the # spill operator.

Step-by-Step

  1. Click the cell where you want the first number to appear. Leave the cells to the right and below it empty; if any of them contain data, the formula returns #SPILL! instead of a list.
  2. Type =SEQUENCE( and start entering arguments. The full shape is =SEQUENCE(rows, [columns], [start], [step]). Only rows is required. Each optional argument is skipped by leaving it blank between separators, in which case columns defaults to 1, start defaults to 1, and step defaults to 1.
  3. Enter a row count. For a simple vertical list from 1 to 10, type =SEQUENCE(10) and press Enter. Excel fills ten cells downward: 1, 2, 3 and so on.
  4. Add a column count to build a grid. =SEQUENCE(3,4) produces three rows and four columns, filled left to right, top to bottom, from 1 to 12. The count continues across rows rather than restarting at each row.
  5. Add a starting value as the third argument. =SEQUENCE(5,1,100) returns 100, 101, 102, 103, 104. Negative starts work too, so =SEQUENCE(4,1,-2,1) returns -2, -1, 0, 1.
  6. Add a step as the fourth argument to control spacing. =SEQUENCE(5,1,0,5) returns 0, 5, 10, 15, 20. A step of 0.25 gives quarters, and a negative step counts down: =SEQUENCE(5,1,10,-2) returns 10, 8, 6, 4, 2.
  7. To make a list of dates, combine SEQUENCE with a start date. =SEQUENCE(10,1,DATE(2026,1,1),1) generates ten consecutive days from 1 January 2026. Format the spill range as Date, since the result otherwise appears as serial numbers.
  8. To build a multiplication table or any grid of calculated values, wrap the sequence in arithmetic. =SEQUENCE(1,12)*7 gives the seven times table across a row, and =SEQUENCE(5,5)"" style concatenation can join text to each number.
  9. Reference the whole spill range with the # operator. If the formula sits in A1 and spills to A10, type =SUM(A1#) to total the entire result, or =COUNTA(A1#) to count the values. The range grows automatically if you change the row count.
  10. Check the result visually: a thin blue outline marks the spill range. Clicking any cell inside it shows the formula in light grey where it originated, and pressing Ctrl+Shift+Enter is not needed or wanted for these formulas.
  11. If you need fixed values rather than a live formula, copy the spill range, then use Paste Special > Values into the same place. This deletes the formula and keeps the numbers, which is useful before sharing the file with someone on an older Excel version.

Common Mistakes

The single most frequent error is putting #SPILL! down to a broken formula when it is really an obstruction. Something in the target area, even an invisible space, blocks the spill. Click the error and use Select Obstructing Cells to find it, or move the formula. Content in a merged cell also triggers it.

Another common slip is confusing argument order. Writing =SEQUENCE(10,1,5,1) when you meant =SEQUENCE(5,1,10,1) gives ten numbers starting at 5 rather than five numbers starting at 10; both are valid formulas, so Excel will not warn you. Read the arguments back in the order rows, columns, start, step.

Region settings catch people out constantly. In locales that use a comma as the decimal separator, the argument separator is a semicolon, so =SEQUENCE(5;1;0;0,5) is correct there and the comma version fails. Copying a formula from a website written for a different locale produces this error often.

Finally, a #NAME? error almost always means the function is not available in your Excel version, not that you typed it wrong. Type =SEQUENCE and see whether AutoComplete suggests it; if nothing appears, the build predates dynamic arrays.

Tips

Use SEQUENCE as a building block rather than a destination. Combined with INDEX, it lets you pull every nth row: =INDEX(A:A,SEQUENCE(10,1,2,2)) grabs rows 2, 4, 6 and so on. Wrapped in DATE, it creates calendars, and combined with TEXT it produces labelled series such as "Week 1", "Week 2" via ="Week "&SEQUENCE(8).

Keep the start and step as cell references instead of literals so a user can change the list length or interval without editing the formula. For example, =SEQUENCE($B$1,1,$B$2,$B$3) driven by three input cells makes a reusable list generator.

Remember that a SEQUENCE formula recalculates whenever the workbook does. That is normally what you want, but if a large sequence feeds a heavy calculation, converting to values once the list is settled keeps the file responsive. Name the spill range (Formulas > Defined Names > Define Name with a reference like A1#) if you reference it in several places, which keeps formulas readable.

Troubleshooting

If that did not work, start with the error code. #SPILL! means the output area is blocked; clear the cells or move the formula. #NAME? means the function is unavailable or misspelled, so check your Excel version first. #VALUE! usually means an argument is text instead of a number, or numbers arrived with stray characters from a copy-paste.

#CALC! appears when the result cannot be calculated, often because a circular reference exists or a number is too large; reduce the row count or check the surrounding formulas for loops. If the spill range shows only one number when you expected many, confirm you did not press Ctrl+Shift+Enter, which turns the formula into a legacy array formula; press Enter on a fresh entry instead.

If the result is a column of dates showing five-digit numbers, apply a date format to the spill range. If the numbers are decimals when you expected whole ones, your step argument or a wrapped calculation introduced fractions; blank the step to return to 1.

On shared workbooks, a SEQUENCE formula may fail to spill if someone else is editing an overlapping range. Close the other editing session, or save a copy and work locally.

Frequently Asked Questions

Is SEQUENCE available in Excel 2019?

No. It requires Excel for Microsoft 365, Excel for the web, or Excel 2021 and later. In older versions, use the fill handle or ROW-based formulas instead.

Can SEQUENCE count down instead of up?

Yes. Use a negative step, such as =SEQUENCE(5,1,10,-1), which returns 10, 9, 8, 7, 6.

Why does my SEQUENCE formula show #SPILL!?

The cells below or beside the formula contain something, including spaces or merged cells. Clear them or move the formula to empty space.

How do I total the whole spilled list?

Reference it with the spill operator: if it starts in A1, use =SUM(A1#).

Can SEQUENCE create a list of dates?

Yes, by putting a date in the start argument, for example =SEQUENCE(7,1,DATE(2026,1,1),1), then formatting the spill range as a date.

Does SEQUENCE work with a semicolon separator?

In locales that use semicolons as the argument separator, yes. Use =SEQUENCE(5;1;1;1) there instead of commas.