> For the complete documentation index, see [llms.txt](https://docs.nedyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/range-functions/sequence.md).

# SEQUENCE

#### Syntax 1 <a href="#syntax.47" id="syntax.47"></a>

**SEQUENCE**(*range*)

* *range* - a range that is to be filled with sequential numbers - ***Value type**: widget*

Returns a range with the same number of rows and columns as *range*, filled with a sequence of integers, starting from 1. The integers are incremented row-by-row.

**Syntax 2**

**SEQUENCE**(*numRows;* *numColumns*)

* *numRows* - the number of rows of the result range - ***Value type**: number*
* *numColumns* - the number of columns of the result range - ***Value type**: number*

Returns a range with *numRows* and *numColumns*, with a sequence of integer values, starting from 1, up to *numRows* x *numColumns*.

#### Remarks

* The maximum amount of cells which can be created by the SEQUENCE function is 100,000
* Each parameter allows a maximum value of 9,999.

#### Examples <a href="#examples.11" id="examples.11"></a>

<figure><img src="/files/Y3otLSP4QHxZ8mnFTOFZ" alt=""><figcaption></figcaption></figure>

<div align="left"><figure><img src="/files/1efl11cUyb7lYt26kuMN" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="/files/v0zfrxoKqTGQx0uSSb6B" alt=""><figcaption></figcaption></figure></div>
