Skip to main content
 

Excel SEQUENCE function (365)

Author: Sun Last Modified: 2022-07-08

doc dec2oct 1

Description

The Excel SEQUENCE function allows creating a list of sequential numbers in an array. You can set the start number, and the increment between each number. The array can be one dimension, also can be two dimensions which are decided by the argument rows and columns.

Syntax and arguments

Formula syntax

SEQUENCE(rows,[columns],[start],[step])

Arguments

  • Rows: Required, the number of rows that return.
  • Columns: Optional, the number of columns that return.
  • Start: Optional, the starting number of the sequence. Default (omitted), it is 1.
  • Setp: Optional, the increment between each number. Default (omitted), it is 1.

Return Value

The SEQUENCE function returns an array.

Version

Excel 365 and Excel 2021.

Usage and Examples

Example1 basic usage

Supposing here need to create a list of sequential number which starts from 1 and the increment is 2 in a table with 3 rows and 5 columns, please select a cell and use the SEQUENCE function as this:

=SEQUENCE(3,5,1,2)

Press Enter key. The sequential numbers have been created.
doc dec2oct 1

Example2 combine SEQUNCE function with other functions

1) Create a list of dates starting from

=SEQUENCE(4,3,"2022/6/16",1)

Here “2022/6/16” indicates to create a list of sequence start from 2022/6/16. (Dates are stored as numbers in Excel)

If the results are shown as numbers, please format them as dates.
doc dec2oct 1

2) Create a list of random increasing whole number

=SEQUENCE(2,5,INT(RAND()*10),INT(RAND()*10))

Here RAND returns the random number between 0-1, *10 will get the random number between 1-10. INT Returns the integer part of the random number by rounding down to the integer..
doc dec2oct 1


Other Functions:

  • Excel ROMAN Function
    The Excel ROMAN function converts an Arabic number to a Roman numeral as text.

 


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.