- Home
- CHOOSECOLS Function
CHOOSECOLS Function
The CHOOSECOLS function is one of the lookup and reference functions. It is used to return columns from an array or reference.
Syntax
CHOOSECOLS(array, col_num1, [col_num2], …)
The CHOOSECOLS function has the following arguments:
Argument | Description |
---|---|
array | Is used to set the array containing the columns to be returned in a new array. |
col_num1 | Is used to set the first column number to be returned. |
col_num2 | Is an optional argument. It is used to set additional column numbers to be returned. |
Notes
Please note that this is an array formula. To learn more, please read the Insert array formulas article.
How to apply the CHOOSECOLS function.
Examples
The figure below displays the result returned by the CHOOSECOLS function.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags