How to Extract Selected Excel Columns into Another Workbook
Question details
The user wants to automatically copy specific columns from a source Excel workbook to an existing sheet in a destination workbook and keep the data dynamically updated.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Linking and extracting specific column data between two different workbooks without manual copy-pasting.
- Observed behavior
- The goal is to use a dynamic formula to mirror selected source columns (e.g., A, B, D, F) into consecutive destination columns (e.g., A, B, C, D) while ignoring empty rows.
Ensure both the source and destination workbooks are saved in a stable, accessible folder so external links do not break. Additionally, verify that you are using a recent version of Excel that supports dynamic array functions like CHOOSECOLS.
Use CHOOSECOLS and FILTER for Dynamic Column Extraction
This method allows you to link specific columns from a source workbook to a destination workbook automatically, keeping the data fully updated whenever the source changes.
By nesting the FILTER function inside CHOOSECOLS, you can ensure that you only extract rows containing actual data (skipping blanks) while selecting exactly which columns to pull over using their index numbers.
Launch Excel and open both the source workbook containing your original data (e.g., OtherWorkbook.xlsx) and the destination workbook where you want the extracted columns to appear.
In the destination workbook, select the starting cell (such as A1) and enter the extraction formula: =CHOOSECOLS(FILTER('[OtherWorkbook.xlsx]Source Sheet'!$A:$F,'[OtherWorkbook.xlsx]Source Sheet'!$A:$A<>""),1,2,4,6). Adjust the file name, sheet name, and column index numbers (1,2,4,6) according to your actual setup.
Press Enter to spill the array into your destination columns. Save the destination workbook. Keep the source workbook accessible in its current file path so that external links can refresh successfully when the destination file is reopened.

Dynamically Link and Extract Columns with WPS Spreadsheet
WPS Office fully supports dynamic array formulas and seamless cross-workbook referencing, making it incredibly simple to extract, filter, and mirror columns between files without manual data entry.
- 1. Open Files in WPS Spreadsheet: Open both your source and target workbooks. WPS Office displays them in a convenient tabbed view.
- 2. Apply the Extraction Formula: Navigate to the target workbook, click on the starting cell, and type your =CHOOSECOLS formula.
- 3. Select Source Ranges Visually: While typing the formula, simply switch to the source workbook tab to visually highlight and select the data arrays instead of typing file names manually.
- 4. Confirm to Spill Data: Press Enter. The extracted columns will spill automatically and stay dynamically linked to the source file.

Frequently Asked Questions
Why does my formula return a #NAME? error?
The #NAME? error occurs if you are using an older version of Excel (like Excel 2016 or 2019) that does not support the CHOOSECOLS function. This function requires Microsoft 365 or a modern spreadsheet tool like WPS Office that supports dynamic arrays.
How do I change the order of the extracted columns?
You can easily rearrange the output columns by changing the order of the index numbers at the end of the CHOOSECOLS formula. For example, changing '1,2,4,6' to '6,4,2,1' will extract those exact columns but in reverse order.
Do both workbooks need to be open for the data to update?
Usually, the destination workbook can pull the most recently saved data from the source file via external links upon opening. However, if you make structural changes to the source file (like adding or deleting rows/columns), it is best to have both open so the formulas calculate correctly.




