How to Fix Excel External Links Not Updating Until Source File Opens
Question details
Users experience issues where Excel workbook links fail to refresh linked values unless the source file is open.

- Product
- Excel / WPS Spreadsheet
- Device & OS
- not provided
- Scenario
- Working with interconnected workbooks containing formulas and external data links.
- Observed behavior
- Linked values do not calculate or update reliably when the source workbook is closed. Functions like SUMIFS return errors or stale data until the source file is actively opened.
Before troubleshooting, ensure that both your destination and source workbooks are saved in trusted locations and that you have the necessary file permissions to access the source data.
Replace Unsupported Functions (SUMIF/SUMIFS) with INDEX and MATCH
Certain Excel functions like SUMIF, SUMIFS, and COUNTIF do not work with closed external workbooks. Replacing them with INDEX and MATCH or SUMPRODUCT resolves the calculation issue.
Functions ending in 'IF' or 'IFS' require the source workbook to remain open in the background to calculate properly. If the source file is closed, they will frequently return a #VALUE! error or fail to update.
Select the cells returning errors when the source file is closed and check the formula bar to see if they contain SUMIF, SUMIFS, COUNTIF, or COUNTIFS.
If you are using SUMIFS merely to look up a single value based on criteria, rewrite the formula using a combination of the INDEX and MATCH functions, which fully support closed workbooks.
If you need to sum multiple values conditionally, replace the SUMIFS function with the SUMPRODUCT function.
Press Enter to apply the new formula. Save and close the source workbook, then recalculate the destination workbook to verify that the values now update correctly without errors.

Enable Automatic Workbook Link Updates
Ensure that your spreadsheet settings are configured to automatically update links to other documents upon opening.
Use WPS Spreadsheet for Seamless Data Linking
WPS Office provides robust support for cross-workbook formulas, advanced functions like INDEX/MATCH, and efficient external data linking without heavy resource consumption.
- 1. Open your workbooks: Launch WPS Spreadsheet and open both your main workbook and source workbook.
- 2. Review external links: Go to the 'Data' tab and click on 'Edit Links' to review all external data sources connected to your document.
- 3. Update values manually: Select the linked file from the dialogue box and click 'Update Values' to manually force a refresh of the data.
- 4. Insert stable formulas: Use the 'Formulas' tab to easily insert INDEX, MATCH, and SUMPRODUCT functions for stable cross-file referencing that doesn't require open source files.

Frequently Asked Questions
Why do SUMIF and SUMIFS return a #VALUE! error when the source file is closed?
Conditional functions like SUMIF, SUMIFS, COUNTIF, and COUNTIFS are designed to evaluate ranges dynamically in active memory. When the referenced external workbook is closed, the spreadsheet application cannot evaluate these background ranges, resulting in a #VALUE! error. You must either keep the source file open or use SUMPRODUCT as an alternative.
How can I force external links to update manually?
You can manually update links by navigating to the 'Data' tab on the ribbon, clicking on 'Edit Links' or 'Queries & Connections', selecting the specific source file from the list, and clicking the 'Update Values' button.
Are there other functions besides INDEX and MATCH that work with closed workbooks?
Yes. Alongside INDEX and MATCH, functions like VLOOKUP, HLOOKUP, SUMPRODUCT, and CHOOSE generally work perfectly fine when referencing closed external workbooks and will successfully pull the updated cached data.




