EXCEL SEQUENCE FUNCTION

The SEQUENCE function in Excel creates an array of consecutive integers. The array can be one or two dimensional, as defined by the rows and columns inputs.

Syntax :

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

Parameters :

  • The following parameter are:

rows –

  • The number of lines to be returned.

columnsĀ –

  • [Optional] columns The number of columns to be returned.

start –

  • [optional] the starting point (defaults to 1).

step –

  • (optional) Increase the difference between each value (defaults to 1).

Step By Step Guide of SEQUENCE Function

Example :

If you need a short sample database, here’s an example of how to use SEQUENCE with TEXT, DATE, YEAR, and TODAY to generate a fluid list of weeks for a heading row, with the underpinning date always being the current year. Our formula is as follows:

  • 1. The rows and columns parameters specify how many rows and columns should be created in the output. For example, the following formulae create integers ranging from 1 to 5 in rows and columns:

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now