logo
search
Function Problems

How to Use VLOOKUP Between Two Excel Workbooks

Maira MehtabMaira Mehtab Sep 21, 2026 868 views

Question details

The user needs to retrieve data from a source Excel file and populate it into a destination Excel file using the VLOOKUP function.

Product
Spreadsheets
Device & OS
not provided
Scenario
Pulling data dynamically from one spreadsheet file into a completely different spreadsheet file.
Observed behavior
To successfully execute VLOOKUP across files without path errors, the formula requires a correct external reference to the source workbook's data array.
Before you start

Ensure both the source workbook containing your lookup data and the destination workbook where you want to display the results are saved locally on your computer.

Solution 1Recommended

Keep Both Workbooks Open While Creating the Formula

Opening both files simultaneously allows the spreadsheet program to automatically generate the correct external path syntax when you select the data.

When referencing external workbooks, the syntax can be complicated to type manually. Keeping both files open helps Excel resolve the external workbook reference perfectly, preventing `#REF!` or `#VALUE!` errors.

1
Open Both Files

Launch your spreadsheet application and open both the source workbook (which holds the reference data) and the destination workbook.

2
Start the VLOOKUP Formula

In the destination workbook, click the cell where you want the result to appear. Type `=VLOOKUP(` and select the cell containing your lookup value, followed by a comma.

3
Select the External Table Array

Switch to the window containing the source workbook. Highlight the data range you want to search within. The software will automatically insert the correct external reference (e.g., `'[Source.xlsx]Sheet1'!$A$1:$C$50`). Type another comma.

4
Complete the Formula

Enter the column index number from which to retrieve the data, type a comma, and enter `FALSE` for an exact match. Add the closing parenthesis `)` and press Enter.

Automatic Path Updating: Once the formula is entered, you can safely close the source workbook. The spreadsheet software will automatically update the formula to display the full hard drive path to the closed file.
Efficient Data Management

Use VLOOKUP Across Files Seamlessly with WPS Office

WPS Spreadsheet provides powerful data analysis capabilities, including flawless cross-workbook referencing using VLOOKUP. Its tabbed interface makes working between multiple files much easier than traditional spreadsheet software.

  1. 1. Open Files in Tabs: Launch WPS Spreadsheet and open your source and destination workbooks. They will conveniently open as separate tabs in the same window.
  2. 2. Begin the VLOOKUP: In the destination tab, type your VLOOKUP formula up to the table array section: `=VLOOKUP(A2,`.
  3. 3. Reference the Source Tab: Click the tab of your source workbook at the top of the window, highlight your data range, and finish the formula. The link between the two files is instantly established.
100% compatibility with Microsoft Excel formats (.xlsx, .xls, .csv)Tabbed viewing interface allows you to switch between open workbooks with a single clickFree and lightweight suite that handles massive datasets smoothly
microsoft office alternative - wps office

Frequently Asked Questions

Can I type the external workbook path manually into the VLOOKUP formula?

Yes, but it requires strict syntax. You must format it as: `='C:\Path\To\Folder\[WorkbookName.xlsx]SheetName'!$A$1:$D$100`. Because this is prone to typing errors, keeping both files open and highlighting the range is the recommended method.

Why is my external VLOOKUP returning a #REF! error when I open the file?

This usually happens if the source file was moved, renamed, or deleted after you created the formula. To fix this, click 'Data' in the ribbon, select 'Edit Links', and update the source file to its new location.

Does VLOOKUP automatically update when data in the source workbook changes?

If both workbooks are open, the destination workbook updates immediately. If the source workbook is closed, you may be prompted to 'Enable Content' or 'Update Links' when you open the destination file. Clicking 'Update' will pull the latest data.