The Excel SEQUENCE function generates a list of sequential numbers in an array. The array can be one dimensional, or two-dimensional. Start and step values are arguments.
Get array of list of seuential numbers
Array of sequential values
=SEQUENCE (rows, [columns], [start], [step])
rows - Number of rows to return.
columns - [optional] Number of columns to return.
start - [optional] Starting value (defaults to 1).
step - [optional] Increment between each value (defaults to 1).
The Excel SEQUENCE function generates a list of sequential numbers in an array. The array can be one dimensional, or two-dimensional, controlled by rows and columns arguments. Start and step (increment) values are also supplied as arguments. In the example shown, the formula in B4 is:
With this configuration, SEQUENCE returns an array of sequential numbers, 10 rows by 5 columns, starting at zero and incremented by 3. The result is 50 numbers starting at 0 and ending at 147, as shown in the screen.
To return 10 numbers in one column, starting at -5 and ending at 5, incremented by 1:
Note: The SEQUENCE function is a new "Dynamic Array Function" in Excel. It is a beta feature available only through the Office Insiders program. Dynamic Array functions are expected to be released in 2019 to Office 365 subscribers.
You can reverse a text string with the TEXTJOIN and MID functions, by using an array constant. In the example shown, the formula in C5 is:
How this formula...
The Excel SINGLE function returns a single value using implicit intersection. The SINGLE function is provided for backwards compatibility with implicit intersection formulas in earlier versions of Excel.
Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.