ExcelFlux

SEQUENCE function

Generates a list of sequential numbers in an array, such as 1, 2, 3, 4.

Math and trigonometry · Excel 2021+

Where can you use it?

Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.

Scenario in the workbook

Generate three rows, starting at 10 and increasing by 5.

A worked example from the workbook

RowAB
6Source valueOutput position
701
802
903
Record 1
=INDEX(SEQUENCE(3,1,10,5),B7,1)

Expected result10

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=INDEX(SEQUENCE(3,1,10,5),B7,1)
Turkish Excel · tr-TR
=İNDİS(SIRALI(3;1;10;5);B7;1)

Worked examples

Generate three rows, starting at 10 and increasing by 5.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 Source value Output position
7 0 1
8 0 2
9 0 3
Case Formula Expected result
Record 1 =INDEX(SEQUENCE(3,1,10,5),B7,1) 10
Record 2 =INDEX(SEQUENCE(3,1,10,5),B8,1) 15
Record 3 =INDEX(SEQUENCE(3,1,10,5),B9,1) 20
Microsoft Excel reference