[]
The function returns the specified rows from an array.
=CHOOSEROWS(array,row_num1,[row_num2],…)
The function provides the following arguments:
Argument | Description |
---|---|
array | Refers to the array containing the rows to be returned. |
row_num1 | Refers to the first row number to be returned. |
[row_num2] | [Optional] Refers to the additional row numbers to be returned. |
The function returns a #VALUE error if the absolute value of any of the row_num arguments is zero or exceeds the number of rows in the array.
The function returns an array,the type of each value in the array depends on the parameter.
This function is available in product version 16.0 or later.
!type=note
Note: The CHOOSEROWS function is only available in Beta Insiders builds of Excel for Office 365 currently. Hence, without the Beta Insiders build you cannot import/export the XLSX using this function from/to Excel.