How to Use VLOOKUP Between Worksheets and Workbooks in Excel Online
Question details
The user wants to pull data using VLOOKUP or XLOOKUP across different worksheets or entirely separate workbooks using Excel Online.

- Product
- Microsoft Excel Online
- Device & OS
- not provided
- Scenario
- Looking up and retrieving data from another sheet or file while working in the web browser version of Excel.
- Observed behavior
- Cross-sheet references work natively within the same file, but direct formula references between separate workbooks are not reliably supported in Excel for the web.
Ensure both your source and destination workbooks are saved in your OneDrive or SharePoint. If you need to link separate workbooks online, ensure you have access to Microsoft Power Automate.
Use VLOOKUP Between Worksheets in the Same Workbook
Use standard formula syntax to reference a different tab within the same Excel file, which is fully supported online.
Excel for the Web seamlessly supports cross-worksheet formulas. As long as your data resides in the same workbook, standard functions like VLOOKUP and XLOOKUP operate exactly as they do in the desktop version.
Navigate to Excel Online and open the workbook containing both your target sheet and the source data sheet.
Select the cell where you want the result to appear and type the beginning of your VLOOKUP formula, such as =VLOOKUP(A2,
Click on the tab of your second worksheet (e.g., Sheet2) and highlight the data range you want to search. The formula bar will automatically update to include the sheet reference, looking something like =VLOOKUP(A2, Sheet2!A:B, 2, FALSE).
Press Enter to complete the formula, then drag the fill handle down to apply the lookup to the rest of the column.

Use Power Automate for Separate Workbooks
Since Excel Online doesn't support direct cross-workbook formulas, use Power Automate to sync data into a single workbook first.
Seamlessly Link Multiple Workbooks with WPS Office
Skip complicated Power Automate workarounds. WPS Spreadsheet fully supports real-time VLOOKUP and XLOOKUP across separate workbooks without web-based restrictions. Enjoy a lightweight, fast, and feature-rich offline alternative.
- 1. Download and install: Download WPS Office for free from the official website and install it on your computer.
- 2. Open both workbooks: Launch WPS Spreadsheet and open both the destination workbook and the source workbook simultaneously.
- 3. Create the external link: Type =VLOOKUP( in your destination cell, switch to the window containing the source workbook, and highlight your array. Press Enter to instantly create a reliable cross-workbook link.

Frequently Asked Questions
Can I use XLOOKUP across different workbooks in Excel Online?
No, direct external links using XLOOKUP or VLOOKUP between separate workbooks are not supported in Excel Online. You must combine the data into one workbook or use a desktop spreadsheet application.
Why do my VLOOKUP external links show a #REF! error in Excel for the Web?
Excel for the Web cannot retrieve data from closed external workbooks dynamically. Opening the affected file in the desktop version of Excel will typically force the links to refresh and resolve the #REF! error.
Is there any way to merge Excel files online without using complex formulas?
Yes, you can manually copy and paste the required tables into a new worksheet within your primary file online. For automated merging, you would need to use Power Query in the desktop application.




