Pivot Table Issues

Fix Excel PivotTable Cannot Open Pivot Source File on Refresh

Chanuka GeekiyanageChanuka Geekiyanage Nov 13, 2026 869 views

Question details

The user needs to refresh an Excel PivotTable without opening its external source workbook.

Fix Excel PivotTable Cannot Open Pivot Source File on Refresh
Product
Microsoft Excel
Device & OS
not provided
Scenario
A PivotTable and its source workbook are stored in the same folder, but the source workbook is closed when the PivotTable is refreshed.
Observed behavior
Excel displays a Cannot open pivot source file error, indicating that the source reference or connection cannot be resolved or accessed.
Before you start

Locate the source workbook and confirm that you can open it from its current folder. Check its exact filename, source worksheet or table name, and whether any network or cloud location is available.

Solution 1Recommended

Check the PivotTable source reference and file access

Start here if the source workbook has been moved, renamed, or stored in a location Excel cannot access.

Keeping both workbooks in the same folder does not guarantee that Excel can resolve the PivotTable source. A valid full path can fix a broken reference, but closed-workbook refresh also depends on the source and connection type.

1
Inspect the source

Select a cell inside the PivotTable, then choose PivotTable Analyze > Change Data Source. Inspect the Table/Range reference. For a connection-based PivotTable, open Data > Queries & Connections and inspect the relevant connection instead.

2
Verify the source location

Use your file manager to navigate to the source workbook and open it. Confirm that the filename, worksheet or table name, and referenced range still exist. If the file is on a network share or cloud drive, reconnect or make it locally available as needed.

3
Correct the reference

In PivotTable Analyze > Change Data Source, replace an outdated reference with the correct source. For a range-based external source, use a fully qualified reference such as 'C:\Reports\[Source.xlsx]Data'!$A$1:$D$500, adjusted to your actual location and range. For a connection-based source, update the file location in its connection settings.

4
Test the refresh

Save the source workbook, close it, then return to the destination workbook. Right-click the PivotTable and select Refresh. If the error continues despite a valid, accessible source, use Power Query or a local source table.

Check the PivotTable source reference and file access
File access must remain available: A correct path will not resolve missing read permissions or an unavailable network location. Ask the file owner or administrator for read access if you cannot open the source workbook yourself.
Free Microsoft Office alternative

Work with Local PivotTable Data in WPS Spreadsheet

WPS Office is a free, lightweight alternative with a familiar spreadsheet interface and Excel format compatibility for an easy transition. WPS Spreadsheet can help you analyze local data with PivotTables, but it does not repair Excel-specific external connections or Power Query refresh errors.

Create PivotTables from data stored in the same workbook to avoid an external source-file dependency.Open, edit, and save Microsoft Excel .xlsx and .xls files.Use familiar spreadsheet tools and menus for an easy migration from Excel.Use a lightweight Office suite for everyday spreadsheet work without a paid Microsoft Office subscription.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the error appear when both workbooks are in the same folder?

The PivotTable may still reference an old path, a renamed worksheet, or an unavailable connection. Select the PivotTable and open PivotTable Analyze > Change Data Source to inspect its reference; use Data > Queries & Connections for a connection-based source.

Can an Excel PivotTable refresh while its source workbook is closed?

It depends on the source and connection type. An accessible file path alone does not guarantee that a direct external-range source will refresh. Power Query can read saved data from a closed workbook: use Data > Get Data > From File > From Excel Workbook where available, load a local table, and build the PivotTable from it.

Why does refreshing work only after I open the source workbook?

Opening the source may allow Excel to resolve a reference that it cannot use when the workbook is closed. Check the source under PivotTable Analyze > Change Data Source, verify the full file location, and consider importing the data with Power Query if closed-workbook refresh remains unreliable.

Will copying the source data into the destination workbook keep it updated automatically?

No. Paste Special > Values creates a snapshot. Update the local table manually before refreshing the PivotTable, or use a Power Query import if you need a repeatable connection to the source file.

Can WPS Office fix this Excel source-file error?

WPS Office does not repair Excel-specific source references or connection settings. WPS Spreadsheet is an alternative for working with compatible Excel files and creating PivotTables from local data; verify advanced external-connection behavior before migrating the workbook.