|
Home > Formulas > Math Trig > SEQUENCE Excel SEQUENCE Function Examples
|
-- 5.1) Weekly Declutter Schedule
-- 5.2) Split Numbers and Text
-- 5.3) Printable Excel Calendar
-- 5.4) Extract Numbers from a String
Use the new Excel SEQUENCE function to quickly create a list of numbers on a worksheet. The list can be a single row or column, or in multiple rows and columns, like the dates for a 4-week calendar.

With SEQUENCE, you can set a specific starting number for your sequence, and the interval between numbers.
For example:
The examples and tips below will show you how to get started, and how to get the most out of this powerful function.
SEQUENCE is available in Excel 365 or Excel 2021 or later, where dynamic arrays are supported.
The SEQUENCE function has the following syntax for its arguments, with one required argument, and 3 optional arguments:
The 4 arguments are:
Note: For the Start and Step arguments, you can use whole numbers or decimal numbers. Positive numbers, zero, and negative numbers are allowed.
In this section, there are simple examples of what you can do with the Excel SEQUENCE function.
-- 3.1) List of Numbers
-- 3.2) Table of Numbers
-- 3.3) 4-Week Calendar
In the "list of numbers" examples below, the formulas return a list of sequential numbers, starting with 1, and ending with 5
With just one argument in the SEQUENCE function, you can create a simple list of numbers.
=SEQUENCE(5)
The formula result is a vertical array of sequential numbers, from 1 to 5, in 5 rows, down 1 column.

With two arguments in the SEQUENCE function, you can create a horizontal list of numbers, across multiple columns.
=SEQUENCE(1, 5)
The formula result is a horizontal list of numbers, from 1 to 5. The sequential list spills into a range of cells with 1 row, across 5 columns.

For the arguments in the SEQUENCE function, you can use cell references, instead of typing the numbers into the formula.
In the screen shot below, a number is typed in cell D6, and the two SEQUENCE formulas refer to that cell.
Vertical List
=SEQUENCE(D6)
Horizontal List
=SEQUENCE(1, D6)
When a different number is entered in cell D6, both number lists update automatically

With the following SEQUENCE formula, the result is a table of numbers, with 3 rows and 5 columns.
The starting number is entered in cell B2, and the step value is entered in cell C2.

Here is the formula in cell B4, to create the table of numbers:
=SEQUENCE(4,5,B2,C2)
For example, if you want to practise counting by sixes, type a 6 as the start argument, and another 6 as the step argument.
In the following example, the SEQUENCE formula result is a 4-week calendar, starting with the current date, which is created by the TODAY function.
Here is the calendar formula in cell B4, to create the calendar dates:
=SEQUENCE(4,7,TODAY())
I've formatted the calendar cells to show the day number, with a 3-letter month code, so it's easier to read.
Note: The calendar, and the weekday headings, will update each day, when you open the workbook, to start with the current date.

The TEXT formula, in cell B3, is an old Excel function, not one of the new functions that spill. However, because the formula refers to a 7-cell range, the TEXT function acts like a dynamic array function, and automatically spills across all 7 columns, to show the weekday names, in a 3-letter format (ddd).
=SEQUENCE(7, 1, 15, 3)
Here's an optional feature that you can add to the 4-week calendar -- show the date range, with Start date and End date formulas, above the calendar

Here is the Start date formula, in cell F1.
The formula combines the Excel MIN function with SEQUENCE, to return the earliest date in the 4-week calendar:
=MIN(SEQUENCE(4,7,TODAY()))
And here is the End date formula, in cell H1
The formula combines the Excel MAX function with SEQUENCE, to return the latest date in the 4-week calendar:
=MAX(SEQUENCE(4,7,TODAY()))
If you want to go beyond the basics, take a look at the following SEQUENCE function examples.
-- 5.1) Weekly Declutter Schedule
-- 5.2) Split Numbers and Text - No Separator
-- 5.3) Printable Excel Calendar
-- 5.4) Extract Numbers from a String
How many items can you remove every day, to declutter your home or office? This declutter schedule workbook calculates a running total per week, and over multiple weeks.
You could use this technique for other plans too, such as minutes per day that you want to practise a new skill.

For this sample file, I downloaded a list of nutrients, with their recommended daily amounts. In the screen shot below, nutrient names are in column B, and current daily values (CDV) are in column C.
You can download the Excel file with the Nutrition Data Split formulas, to see how they work. There are two solutions in the file.

See how you can make a printable Excel calendar, based on a few short formulas, with SEQUENCE creating the dates. Change the year or month number, to update the calendar, with that month's holidays highlighted. Step-by-step video and written steps.
There are written steps, a step-by-step video, and a completed Excel workbook that you can download.

On the TEXTJOIN function page, I used SEQUENCE in a formula that extracts just the numbers, from a mixed string of text and numbers. (see Example 6 on that page).
Here is the formula in cell B2, which was copied down to cell B6:
There are full details for this formula on the TEXTJOIN function page.

Don't miss my monthly Excel newsletter! You'll get quick tips, article links, and a bit of fun. Add your email, and click Sign Up.
Next, when you get my reply, click the Confirm button. I add this step to protect you from spam!
Last updated: September 8, 2025 11:25 AM