Category: FUNCTION | Updated: 2026-11-22

How to Use the CHOOSECOLS Function in Google Sheets | Extract and Reorder Specific Columns

What Is the CHOOSECOLS Function?

The CHOOSECOLS function extracts only the specified columns from a cell range or array by their column numbers. It is very useful when you want to pull a few columns out of a wide master table or rearrange columns into a new table.

Syntax

=CHOOSECOLS(array, col_num1, [col_num2, ...])
  • array: The source cell range or array from which to extract columns.
  • col_num1: The first column number to extract (where 1 is the leftmost column of array). Negative numbers count backward from the right (-1 is the last column).
  • col_num2, … (optional): Additional column numbers to extract, separated by commas.

Practical Examples

This example extracts only column 2 (Name) and column 4 (Department) from a customer list in A1:D4 into a new table starting at F1.

Row Col A (ID) Col B (Name) Col C (Age) Col D (Department) Formula in Col F Col F (Name) Col G (Department)
1 ID Name Age Department =CHOOSECOLS(A1:D4, 2, 4) Name Department
2 101 Sato 28 Sales (Auto-expanded) Sato Sales
3 102 Suzuki 34 Engineering (Auto-expanded) Suzuki Engineering
4 103 Takahashi 41 HR (Auto-expanded) Takahashi HR

Common Errors and Precautions

  • #VALUE! error: Occurs if col_num is 0 or exceeds the number of columns in array (for example, specifying 5 or -5 for a 4-column range).
  • The leftmost column of the range is 1: Column numbers are counted from the leftmost column of the range in the first argument, not from column A of the sheet. For example, if you specify C1:F10, column C is 1 and column D is 2.
  • #REF! error: Occurs if cells to the right where the result expands already contain values.

Frequently Asked Questions

Q. How do I extract the 'rightmost column (last column)' with CHOOSECOLS?

A. Pass a negative number (-1) as the column number. -1 extracts the rightmost column, and -2 extracts the second column from the right.

Q. Can I extract columns in a different order?

A. Yes. Writing '=CHOOSECOLS(A1:D10, 4, 1, 2)' creates a new table ordered with the 4th, 1st, and 2nd columns.