Skip to main content

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:

ArgumentDescription
arrayIs used to set the array containing the columns to be returned in a new array.
col_num1Is used to set the first column number to be returned.
col_num2Is 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.

CHOOSECOLS Function