Picking columns with CHOOSECOLS

1 / 4

The staff table has five columns. We only want the emails, then names: columns C and A.

keyboard Typing formulas is easiest on a computer with a keyboard.

A1
ABCDEFGHI
1NameDepartmentEmailPhoneStart year
2Tariq LiSalestariq.li@example.com07700 9002902012
3Nadia PatelMarketingnadia.patel@example.com07700 9007112017
4Daniel FischerOperationsdaniel.fischer@example.com07700 9009572020
5Quinn EvansFinancequinn.evans@example.com07700 9005312015
6Jamal NovakHRjamal.novak@example.com07700 9008622017
7Isla KowalskiMarketingisla.kowalski@example.com07700 9005892024
8Kofi PatelMarketingkofi.patel@example.com07700 9008272022
9Yusuf DuboisOperationsyusuf.dubois@example.com07700 9009992021
10
11
12
13
column 3
column 1
Type to enter a value or a formula starting with =. F2 edits, F4 adds $ to a reference.
Study notes

How CHOOSECOLS works

  • What does CHOOSECOLS do?

    It returns only the columns you ask for, by number, from a range. The result spills, so one formula makes a whole new table:

    =CHOOSECOLS(A1:E9,1,3)

  • How are the columns numbered?

    From the first column of the range, which is 1. A negative number counts from the end: -1 is the last column.

  • Can it change the order?

    Yes. The columns come out in the order you list them, so =CHOOSECOLS(A1:E9,3,1) puts column 3 first. You can list the same column twice too.

  • When is it useful?

    Making a short version of a wide table to share or print, feeding just the right columns to another function such as SORT or FILTER, or putting columns in the order another system expects. CHOOSEROWS does the same for rows.

  • Is there a way without formulas?

    The Table Workspace on this site has a Choose Columns step that reorders and drops columns from a whole file.

Know someone fighting with a spreadsheet? Send them this page.