Fix Cross-Workbook VLOOKUP in Excel for the Web
Question details
The user needs to use VLOOKUP to retrieve data from a separate workbook stored online.

- Product
- Microsoft Excel for the web
- Device & OS
- not provided
- Scenario
- A VLOOKUP formula needs to reference a lookup range in another workbook stored in OneDrive.
- Observed behavior
- The lookup range in the other online workbook cannot be selected in Excel for the web. The lookup works between sheets in the same workbook and in desktop Excel.
Confirm that you can open both workbooks from OneDrive or SharePoint and that you have permission to access the source data. Note the source sheet, lookup range, and return column before editing the formula.
Create the External VLOOKUP in Desktop Excel
Use desktop Excel when the lookup data must remain in a separate workbook.
Excel for the web may not support selecting an external workbook range interactively. Creating the link in desktop Excel can avoid that editing limitation, although browser support for updating the link may vary.
Open each file from OneDrive or SharePoint and choose Open in Desktop App, or open both files directly in desktop Excel.
In the destination cell, start a VLOOKUP formula, then switch to the source workbook and select the lookup range. For example, use =VLOOKUP(A2,[Test2.xlsx]Sheet1!A:K,3,FALSE) to return a value from the third column.
Save the destination workbook, reopen it in Excel for the web, and check whether the displayed result and link updates meet your needs.

Put the Lookup Data in the Same Workbook
Use a same-workbook reference when editing the formula in Excel for the web is the priority.
Import the Source Table with Power Query in Desktop Excel
Use Power Query when you want to bring data into the destination workbook and refresh it from the source.
Work with Lookup Tables in WPS Spreadsheet
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and move lookup data into one workbook for an easier transition; it does not fix Excel for the web's external-link behavior.
- 1. Open the Excel files: In WPS Spreadsheet, choose Open and select the destination and source XLSX workbooks.
- 2. Copy the lookup table: Select and copy the source table, then add a sheet in the destination workbook and paste the data there.
- 3. Enter the formula: Select the destination cell and enter a same-workbook formula such as =VLOOKUP(A2,Lookup!A:K,3,FALSE), using your lookup sheet's name.
- 4. Save the workbook: Choose Save As and select the XLSX format to keep the workbook compatible with Microsoft Excel.

Frequently Asked Questions
Why can't I select a range in another workbook in Excel for the web?
Excel for the web may not support interactive selection of a range in another online workbook. Open both files in desktop Excel to create the reference, or copy the lookup data into the destination workbook.
Will typing a OneDrive path into VLOOKUP always fix the reference?
No. Manually entering a path does not necessarily bypass Excel for the web's external-link limitations. Test the link in desktop Excel and confirm that users can open the source file.
How do I reference a lookup table on another sheet in the same workbook?
Enter a formula such as =VLOOKUP(A2,Lookup!A:K,3,FALSE) in the result cell. Replace Lookup with the sheet name and adjust the range and return column to match your table.
What should I check if the issue affects everyone?
Test the same workbooks in desktop Excel, verify access to both OneDrive or SharePoint files, and ask a Microsoft 365 administrator to check Service health in the Microsoft 365 admin center.




