How to Fix Excel Array Formulas Referencing Another Workbook
Question details
The user needs to fix an array formula containing INDEX, SMALL, and IF functions that references an external workbook and fails in Excel 2019 despite working in Microsoft 365.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Attempting to calculate data across multiple columns by pulling from an external workbook using a single array formula.
- Observed behavior
- The formula calculates correctly in Microsoft 365 but returns errors or incorrect results in Excel 2019, especially when entered simultaneously across a wide range like B2:N2.
Ensure that the external workbook referenced in your formula is currently open or its file path is fully accessible, and verify whether your version of Excel uses legacy array formulas or modern dynamic arrays.
Apply Separate Column Formulas and Use Ctrl+Shift+Enter
Resolve array formula errors in legacy Excel versions by entering formulas individually per column and confirming them with the correct keyboard shortcut.
Microsoft 365 supports dynamic arrays that automatically spill across multiple cells. However, Excel 2019 and older versions do not. Entering a single array formula across a range like B2:N2 in older versions will cause evaluation errors. You must enter discrete formulas into each column.
Click only the first cell of your intended output range (for example, B2) instead of highlighting multiple columns.
Type your formula containing the INDEX, SMALL, and IF functions, making sure the external workbook reference is formatted correctly (e.g., '[WorkbookName.xlsx]SheetName'!Range).
Instead of simply pressing Enter, hold down Ctrl + Shift and press Enter. This tells Excel 2019 to evaluate it as an array formula, adding curly braces {} around the formula.
Click the small square fill handle at the bottom-right of cell B2 and drag it across to N2 to apply individual formulas to each column.

Verify and Update External Workbook References
Ensure the path to the external workbook is correct and the connection is active, as broken links often trigger formula errors.
Avoid Excel Version Compatibility Issues with WPS Office
Struggling with array formulas that break between Microsoft 365 and Excel 2019? WPS Office provides a free, lightweight, and highly compatible alternative that handles complex formulas and external workbook references without the version fragmentation headaches.

Frequently Asked Questions
Why does my array formula work in Microsoft 365 but not Excel 2019?
Microsoft 365 introduced dynamic array formulas that automatically 'spill' results into adjacent empty cells. Excel 2019 and older versions lack this feature and require you to manually confirm array formulas in a single cell using Ctrl+Shift+Enter, then drag to copy them across columns.
How do I correctly reference an external workbook in an array formula?
To reference an external workbook, include the file path, workbook name enclosed in square brackets, sheet name, and the cell range (e.g., '[Data.xlsx]Sheet1'!$A$1:$A$10). Keeping the external file in the same folder as your main workbook can help prevent broken links when sharing.
What happens if I enter one array formula across multiple output columns in Excel 2019?
If you highlight a multi-column range (like B2:N2) and enter a single array formula, older Excel versions attempt to evaluate the entire range as one block. Unless the formula is specifically designed as a multi-cell array, this usually results in #VALUE! or incorrect calculations. It is safer to use discrete formulas for each column.
How can I fix a #REF! error when referencing another workbook?
A #REF! error typically indicates that the referenced workbook has been moved, renamed, or deleted. You can resolve this by going to the Data tab, selecting 'Edit Links', and using the 'Change Source' button to locate and restore the correct file path.




