Lookup & Reference
Excel 365
◉ 3 views
Dynamic Array
=CHOOSECOLS()
CHOOSECOLS function
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for Mac
=CHOOSECOLS(array,col_num1,[col_num2],…)
Hover argument names in the table for details.
Output typeArray
Popularity50 / 100
VolatileNo
Dynamic ArrayYes
📥 Download sample .xlsx — Coming soon
▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =CHOOSECOLS() 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. |
col_num1 |
Number | Required | The first column to be returned. |
col_num2 |
Number | Optional | Additional columns to be returned. |
▣ Examples
انتخاب ستونهای ۱، ۳، ۵ و دوباره ۱ از محدودهٔ A2:E7
=CHOOSECOLS(A2:E7,1,3,5,1)
انتخاب ستونهای ۳ و ۴ از محدودهٔ A2:D7
=CHOOSECOLS(A2:D7,3,4)
انتخاب ستونها از انتها با شمارههای منفی −۱ و −۲ از محدودهٔ A2:D7
=CHOOSECOLS(A2:D7,-1,-2)
⚠ Common Errors
#VALUE!
Excel returns a #VALUE error if the absolute value of any of the col_num arguments is zero or exceeds the number of columns in the array.
Fix: Check the column 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!