Select Non-Adjacent Excel Table Columns with a Formula
Question details
Return selected non-adjacent columns from an Excel table in separate output columns using one formula.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- The user wants to extract the Number and Month columns from the source_data table without dragging a formula.
- Observed behavior
- A structured reference using a colon returns the adjacent column range, including any columns between Number and Month.
Check the positions of Number and Month within the source_data table; the examples assume they are columns 1 and 3. Choose an empty starting cell outside any Excel table, with enough space for the results to spill.
Use CHOOSECOLS to return selected table columns
In Excel for Microsoft 365, use CHOOSECOLS to select columns by their positions and spill the results automatically.
Click an empty cell outside the source_data table where you want the first result to appear.
Type =CHOOSECOLS(source_data,{1,3}) in the cell or formula bar, then press Enter.
If Number and Month are not the first and third table columns, edit 1 and 3 in the formula to match their positions within source_data.

Use INDEX and SEQUENCE to select the columns
Use this alternative in a version of Excel that supports dynamic arrays and SEQUENCE.
Work with Excel Tables in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface for opening and editing Excel workbooks. It supports common Excel formats, making it easier to move existing spreadsheets into WPS; check function availability before relying on an Excel-specific formula.

Frequently Asked Questions
Why does a colon between structured references return extra columns?
The reference source_data[Number]:source_data[Month] describes a continuous range, so it includes every table column between Number and Month. Use CHOOSECOLS to select specific positions instead.
How do I change which columns the formula returns?
Edit the column numbers in =CHOOSECOLS(source_data,{1,3}). The numbers are positions within the table, and their order determines the order of the output columns.
Does the formula include the table headers?
No. The source_data reference returns the table's data rows by default. You can type the desired headers above the spill range.
What should I do if Excel displays #SPILL!?
Place the formula outside an Excel table and clear any values or other obstructions from the cells needed for the spill range.
What if CHOOSECOLS is not available in my version of Excel?
If your version supports dynamic arrays and SEQUENCE, try =INDEX(source_data,SEQUENCE(ROWS(source_data)),{1,3}). Older versions may not support either spill formula.




