Skip to main content
← All functions

CHOOSEROWS function

Returns the specified rows from an array

Syntax

CHOOSEROWS(array, row_num1, [row_num2])

Square brackets indicate optional arguments.

Arguments

ArgumentRequiredMeaning
arrayYesThe array containing the rows to be returned in the new array.A1:C2
row_num1YesThe first row number to be returned.1
row_num2No · repeatsAdditional row numbers to be returned.2

Try CHOOSEROWS

Return selected rows from a table

=CHOOSEROWS(A2:B6,1,3)

Return selected rows from a table. The result is checked against a separately authored expected value for the supplied table. You can edit the data to explore the rule.

Inspect the current formula

Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.

Read the formula, one argument at a time

Explore the written function calls and their inputs. The calculation result belongs to the complete formula.

CHOOSEROWS · top-level call

=CHOOSEROWS(A2:B6,1,3)

1 / 3 · array

The array containing the rows to be returned in the new array.

CHOOSEROWS reference ↗

Follow the cells behind a result

Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.

The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.

Reference and compatibility

Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.