CHOOSECOLS function
Summary
Returns the specified columns from an array
Syntax
CHOOSECOLS(array,col_num1,[col_num2],…)
The CHOOSECOLS function syntax has the following arguments:
• array The array containing the columns to be returned in the new array. Required.
• col_num1 The first column to be returned. Required.
• col_num2 Additional columns to be returned. Optional.
• array The array containing the columns to be returned in the new array. Required.
• col_num1 The first column to be returned. Required.
• col_num2 Additional columns to be returned. Optional.
Example
=CHOOSECOLS(A2:E7,1,3,5,1)
=CHOOSECOLS(A2:D7,3,4)
=CHOOSECOLS(A2:D7,-1,-2)
=CHOOSECOLS(A2:D7,3,4)
=CHOOSECOLS(A2:D7,-1,-2)