# 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="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/K2cqjHIjPybzLzlNQkoa/image.png" alt=""><figcaption></figcaption></figure>

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/hwwQL3EP8B7xXce1ig8U/grafik.png" alt=""><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://content.gitbook.com/content/4X6nN2wTlDsVpd8P1WDM/blobs/KE3bRntI3o4bdPg9sp3d/grafik.png" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.nedyx.com/version-1.52-preview/clearlines-functions/range-functions/sequence.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
