Lookup & Reference
Excel 365
◉ 17 views
Dynamic Array
=CHOOSEROWS()
CHOOSEROWS function
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for Mac
=CHOOSEROWS(array,row_num1,[row_num2],…)
Hover argument names in the table for details.
Output typeArray
Popularity40 / 100
VolatileNo
Dynamic ArrayYes
Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =CHOOSEROWS() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
array |
Array | Required | The array containing the columns to be returned in the new array. |
row_num1 |
Number | Required | The first row number to be returned. |
row_num2 |
Number | Optional | Additional row numbers to be returned. |
▣ Examples
▦ Data
| Cell | Value |
|---|---|
A2 |
1 |
B2 |
2 |
A3 |
3 |
B3 |
4 |
A4 |
5 |
B4 |
6 |
A5 |
7 |
B5 |
8 |
A6 |
9 |
B6 |
10 |
A7 |
11 |
B7 |
12 |
A8 |
1 |
B8 |
2 |
A9 |
3 |
B9 |
4 |
A10 |
5 |
B10 |
6 |
A11 |
7 |
B11 |
8 |
A12 |
9 |
B12 |
10 |
A13 |
11 |
B13 |
12 |
A14 |
1 |
B14 |
2 |
A15 |
3 |
B15 |
4 |
A16 |
5 |
B16 |
6 |
A17 |
7 |
B17 |
8 |
A18 |
9 |
B18 |
10 |
A19 |
11 |
B19 |
12 |
A20 |
1 |
B20 |
2 |
A21 |
3 |
B21 |
4 |
A22 |
5 |
B22 |
6 |
A23 |
7 |
B23 |
8 |
A24 |
9 |
B24 |
10 |
A25 |
11 |
B25 |
12 |
A26 |
1 |
B26 |
2 |
A27 |
3 |
B27 |
4 |
A28 |
5 |
B28 |
6 |
A29 |
7 |
B29 |
8 |
A30 |
9 |
B30 |
10 |
A31 |
11 |
B31 |
12 |
A32 |
1 |
B32 |
2 |
A33 |
3 |
B33 |
4 |
A34 |
5 |
B34 |
6 |
A35 |
7 |
B35 |
8 |
A36 |
9 |
B36 |
10 |
A37 |
11 |
B37 |
12 |
Example 1
=CHOOSEROWS(A2:B7,1,3,5,1)
Example 2
=CHOOSEROWS(A2:B7,{1,3},5,1)
Example 3
=CHOOSEROWS(A2:B7,-1,-2)
⚠ Common Errors
#VALUE!
Excel 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.
Fix: Check the row numbers
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!