CHOOSECOLS Function
The CHOOSECOLS function is one of the lookup and reference functions. It is used to return columns from an array or reference.
Please note that this is an array formula. To learn more, please read the Insert array formulas article.
The CHOOSECOLS function syntax is:
CHOOSECOLS(array,col_num1,[col_num2],…)
where
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.
To apply the CHOOSECOLS function,
- select the cell where you wish to display the result,
-
click the Insert function icon situated at the top toolbar,
or right-click within a selected cell and select the Insert Function option from the menu,
or click the icon situated at the formula bar,
- select the Lookup and Reference function group from the list,
- click the CHOOSECOLS function,
- enter the required arguments separating them by comma,
- press the Enter button.
The result will be displayed in the selected cell.
Alla pagina precedente