SEQUENCE

Generate a list of sequential numbers in an array.

Sintaksė

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.

note

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


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.

Pavyzdžiai

{=SEQUENCE(3,3,10,11)} returns a 3 by 3 array below with upper right value of 10 and filling the array to the right and then downward.

10

21

32

43

54

65

76

87

98


Technical information

tip

This function is available since LibreOfficeDev 24.8.


This function is not part of the Open Document Format for Office Applications (OpenDocument) Version 1.3. Part 4: Recalculated Formula (OpenFormula) Format standard. The name space is

COM.MICROSOFT.SEQUENCE