Data Import & Export

Fix Excel Data Source Error Retrieving from SharePoint

Camila MilosovichCamila Milosovich Oct 7, 2026 870 views

Question details

The user needs to resolve an issue where an Excel file successfully retrieves data from another SharePoint file for the owner, but displays a data source error for colleagues.

How to Fix Excel Data Source Errors When Retrieving Data From SharePoint
Product
Microsoft Excel, SharePoint
Device & OS
not provided
Scenario
Sharing an Excel report connected to a SharePoint data source with team members.
Observed behavior
The connection works for the file owner but returns a data source error for colleagues, even when both files are located in the same SharePoint folder.
Before you start

Ensure you are logged into your Microsoft account with the appropriate SharePoint permissions and verify that the source file has not been renamed or moved.

Solution 1Recommended

Remove and Re-add the Data Source via Excel for the Web

Reconnecting the data source directly in the web version updates the cloud path correctly, ensuring it is accessible to others rather than relying on a local file path.

When you link files using the desktop version of Excel, it sometimes captures the local synced path (e.g., C:\Users\Name\...) instead of the universal cloud URL. Excel for the web forces the use of the SharePoint URL, which resolves the issue for colleagues.

1
Open the Destination File Online

Log into your SharePoint or OneDrive account via a web browser and open the Excel file that needs the data connection in Excel for the web.

2
Remove the Broken Link

Navigate to the 'Data' tab, open 'Queries & Connections', locate the existing SharePoint connection, right-click it, and select 'Delete'.

3
Re-add the Cloud Link

Select 'Get Data', enter the exact SharePoint URL of the source file (copied directly from the browser), and complete the connection process.

Remove and Re-add the Data Source via Excel for the Web
Pro Tip: When copying the URL of the source file, remove any parameters at the end (such as '?web=1') to ensure Excel connects directly to the raw file.
Free Microsoft Office alternative

Experience Seamless Collaboration with WPS Office

While troubleshooting Microsoft Excel's SharePoint connections can be complex, WPS Office offers a free, lightweight, and easy-to-use alternative. With highly compatible spreadsheet tools and built-in cloud sharing features, WPS makes collaborating with colleagues effortless.

  1. 1. Download and Install: Get WPS Office from the official website and install it on your device in minutes.
  2. 2. Open Your Spreadsheets: Open your existing .xlsx files directly in WPS Spreadsheet without losing formatting.
  3. 3. Share via Cloud: Use WPS Cloud to share document links with colleagues, ensuring everyone has the correct permissions instantly.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Seamless cloud file sharing and real-time collaboration features.Lightweight installation with fast startup times and no bloatware.A cost-effective, free alternative to expensive Microsoft Office subscriptions.
microsoft office alternative - wps office

Frequently Asked Questions

Why does an Excel link to a SharePoint file work for me but not my colleagues?

This commonly occurs when the data link was created using a locally synced OneDrive or SharePoint path (like C:\Users\YourName\Company\Folder). Because your colleagues have different local usernames and paths, the link breaks for them. Replacing the link with the direct SharePoint web URL fixes this.

Can I use Power Query to pull data from a SharePoint folder?

Yes. In the Excel desktop app, you can go to Data > Get Data > From File > From SharePoint Folder. You will need to enter the root URL of your SharePoint site and then filter down to the specific folder within Power Query.

How do I find the correct SharePoint URL for my Excel data source?

Open the source file in Excel for the web, click on File > Info, and select 'Copy Path'. Before pasting this path into your Get Data prompt, be sure to delete the '?web=1' string at the very end of the URL.