Contenido

# SEQUENCE

Generate a list of sequential numbers in an array.

### Sintaxis

SEQUENCE(Rows; Columns [; Start [; Step ] ])

Rows: a positive integer. The number of rows to return.

Columns: a positive integer. The number of columns to return.

Start: optional. The initial value of the sequence. If omitted, default is 1.

Step: optional. The increment of each subsequent value in the array. If omitted, default is 1.

If Rows and Columns are greater than 1, the SEQUENCE function must be entered as an array formula.

If Rows or Columns are references to the content of other cells, the array dimensions do not change when the referenced content changes. The array formula must be deleted and re-entered.

The array is filled from the first row to the right up to the value of Columns, and then down to the number of rows.

### Ejemplos

{=SEQUENCE(3; 3; 10; 11)} returns the 3-by-3 array below with an upper-left value of 10 and filling the array to the right and then downward in steps of 11.

10 | 21 | 32
43 | 54 | 65
76 | 87 | 98

#### Información técnica

Esta función está disponible desde la versión 24.8 de LibreOffice.

Esta función no forma parte de la norma Formato de Documentos Abierto para Aplicaciones de Oficina (OpenDocument), versión 1.3. Parte 4: formato de fórmulas recalculadas (OpenFormula). El espacio de nombres es

COM.MICROSOFT.SEQUENCE

Temas relacionados

SEQUENCE wiki page.