When you notice that SharePoint Excel files with XLOOKUP are correct only in OneDrive, not on SharePoint (Excel Online), the issue stems from how the web application handles external links compared to the desktop client. Excel for Desktop utilizes the local OneDrive sync engine, resolving file paths seamlessly in the background. In contrast, Excel Online relies on HTTP URLs to fetch data from FILE B into FILE A. If FILE B is
Understanding the Root Cause Behind the Issue
When you notice that SharePoint Excel files with XLOOKUP are correct only in OneDrive, not on SharePoint (Excel Online), the issue stems from how the web application handles external links compared to the desktop client. Excel for Desktop utilizes the local OneDrive sync engine, resolving file paths seamlessly in the background. In contrast, Excel Online relies on HTTP URLs to fetch data from FILE B into FILE A. If FILE B is not actively open in the same browser session, or if the calculation cache times out, Excel Online defaults to retrieving zeroes or stale cached data instead of evaluating the live XLOOKUP array
Before changing anything else, begin with the interface and account named in this action: Open FILE A (the workbook containing the XLOOKUP formula) in your web browser via SharePoint or Excel Online
and Exact Steps to Refresh Workbook Links
Follow these SharePoint actions for Excel XLOOKUP Errors Between SharePoint and Desktop in order. The key interface checkpoint is Data tab -> Workbook Links right-side pane.

- Open FILE A (the workbook containing the XLOOKUP formula) in your web browser via SharePoint or Excel Online
- Navigate to the Data tab on the main ribbon
- Click on the Workbook Links button (this pane manages all external references to FILE B)
- In the Workbook Links side pane, locate the URL for FILE B and click the Refresh All button
- Wait for the status indicator to show "OK"
- Navigate to the Formulas tab, click Calculation Options , and ensure it is set to Automatic
- Verify the results. The cells that previously returned zero or incorrect values should now display the accurate XLOOKUP returns matching the desktop version
Alternative Solution - Using Power Query
- Instead of a direct =XLOOKUP(A2, '[FileB.xlsx]Sheet1'!$A$2:$A$100, '[FileB.xlsx]Sheet1'!$B$2:$B$100) cross-workbook formula, use Power Query.
- Open FILE A in Excel Desktop, go to Data > Get Data > From File > From Workbook , and import FILE B.
- Load FILE B's data as a hidden worksheet inside FILE A.
- Point your XLOOKUP formula to this new local, internal worksheet. Excel Online handles internal calculations flawlessly, eliminating all external sync errors.
How to Verify the SharePoint Result
Validate the change before closing the app: Verify the results. The cells that previously returned zero or incorrect values should now display the accurate XLOOKUP returns matching the desktop version A different result usually means the wrong file, account, or Click on the Workbook Links button was used.
WPS Office: A Free Microsoft Office Alternative for Excel XLOOKUP Errors Between SharePoint and Desktop
For local work related to Excel XLOOKUP Errors Between SharePoint and Desktop, WPS Office is a free Microsoft Office-compatible alternative. It cannot repair a proprietary SharePoint service, add-in, account, or Windows/macOS installation state, so use the verified Microsoft procedure above for the original fault.
While you complete “Excel XLOOKUP Errors Between SharePoint and Desktop” in Microsoft’s interface, use WPS Office for DOCX, XLSX, PPTX, CSV, and PDF files; WPS AI can also draft, rewrite, summarize, translate, and organize local content. Because the desktop interface follows familiar document, spreadsheet, presentation, and PDF conventions, most users can move common local work without rebuilding their workflow.

SharePoint FAQs About Excel XLOOKUP Errors Between SharePoint and Desktop
How do I know when Fix Excel XLOOKUP Errors Between SharePoint and Desktop is complete?
The decisive check is: Verify the results. The cells that previously returned zero or incorrect values should now display the accurate XLOOKUP returns matching the desktop version If the expected output is absent, do not replace the original file or setting.
Which screen should I open first for Fix Excel XLOOKUP Errors Between SharePoint and Desktop?
Use this exact starting action: Open FILE A (the workbook containing the XLOOKUP formula) in your web browser via SharePoint or Excel Online It places you in the correct SharePoint context before later controls are selected.
Can organization policy block Fix Excel XLOOKUP Errors Between SharePoint and Desktop?
It can. While working on Fix Excel XLOOKUP Errors Between SharePoint and Desktop, a managed SharePoint account may hide settings or restrict changes, so verify your role and ownership if the documented control is unavailable.
Is it safe to test Fix Excel XLOOKUP Errors Between SharePoint and Desktop on the original item?
Use a duplicate when the steps alter document content. For account or service settings, record the current value, make one scoped change, and then run this verification: Verify the results. The cells that previously returned zero or incorrect values should now display the accurate XLOOKUP returns matching the desktop version




