Skip to main content

Excel SEQUENCE function (365)

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


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.

 

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations