Fix INDEX and MATCH Not Updating When Source Workbook Is Closed
Question details
The user needs to understand why INDEX and MATCH formulas stop updating data or images when a linked source workbook is closed, despite working perfectly when both files are open.

- Product
- Spreadsheets
- Device & OS
- not provided
- Scenario
- Pulling data or dynamic images from a separate, external source workbook using INDEX and MATCH functions.
- Observed behavior
- The formulas fail to update, and prompting to update links does not resolve the incorrect results when the external source file is closed.
Before modifying your formulas, ensure both workbooks are saved in the same directory to verify correct link paths, and confirm whether your goal is pulling standard data or dynamic pictures.
Identify and Replace Unsupported Nested Functions
INDEX and MATCH natively support closed workbooks. The update failure is usually caused by unsupported nested functions within the references.
Functions like SUMIF, SUMIFS, COUNTIF, INDIRECT, OFFSET, and GETPIVOTDATA cannot fetch data from closed workbooks. If these are used within or referenced by your INDEX and MATCH formulas, they will break the external link update process.
Select the cell containing your failing INDEX and MATCH formula and carefully review the complete string in the formula bar.
Look for functions such as INDIRECT, OFFSET, SUMIF, COUNTIF, or GETPIVOTDATA. These functions require the source file to be open.
Navigate to the 'Formulas' tab and click 'Trace Precedents' to ensure the cells your formula relies on are not using these unsupported functions.
Replace the unsupported functions with robust alternatives. For instance, use SUMPRODUCT instead of SUMIFS to calculate conditional totals from a closed external source.

Merge Workbooks to Localize Data
If your workflow heavily relies on volatile functions like INDIRECT or dynamic picture links, keeping the data in the same file is the most reliable workaround.
Switch to WPS Office for Seamless Spreadsheet Management
If managing heavy external links, complex formulas, and large picture workbooks is slowing down your workflow, try WPS Office. It provides a lightweight, highly compatible spreadsheet environment that easily handles complex datasets and formula link evaluations natively.
- 1. Download WPS Office: Visit the official WPS Office website to download the free installation package tailored for your operating system.
- 2. Install the Application: Run the installer and follow the on-screen prompts to set up the lightweight WPS Office suite on your device.
- 3. Open Your Workbooks: Launch WPS Spreadsheets and open your existing Excel workbooks to evaluate your INDEX and MATCH formulas seamlessly.

Frequently Asked Questions
Why does my INDEX and MATCH formula return a #REF! error when the source file is closed?
This happens when your formula includes or relies on other functions that do not support closed workbooks, such as INDIRECT, OFFSET, SUMIF, or COUNTIF. When the source file closes, these nested functions fail to evaluate, causing the entire formula to break.
Can I link a dynamic picture from a closed external workbook?
No, standard dynamic picture lookups using named ranges along with INDEX and MATCH typically require the source workbook to remain open in order to process the image update correctly.
Which spreadsheet functions work safely with closed source workbooks?
Functions like INDEX, MATCH, VLOOKUP, HLOOKUP, LOOKUP, and SUMPRODUCT are natively designed to pull and evaluate data directly from closed external workbooks without returning errors.




