Fix Excel INDIRECT and OFFSET References to Closed Workbooks
Question details
The user needs to access external workbook data without keeping the source workbook open.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formulas use INDIRECT or OFFSET to refer to data in another workbook, including references held in a named range.
- Observed behavior
- The formulas cannot resolve the external references when the source workbook is closed.
Identify the source workbook, sheet, and cell range used by the affected formulas. Check whether the source file is accessible and whether you need live references or an imported copy of the data.
Replace the external reference with an INDEX-based formula
Use a direct external range with INDEX when you can express the lookup without INDIRECT or OFFSET.
Select the affected cell and check the formula bar for the source workbook, sheet, range, and position being returned.
Open the source workbook, then enter a formula that points directly to its range. For example, use =INDEX('[Sales.xlsx]Sheet1'!$A$1:$A$100,B2) to return the row specified in B2.
Save both workbooks, close the source workbook, and recalculate the destination workbook. Excel may add the full file path to the external reference.

Import the source data into the destination workbook
Use an import when you need the data available locally rather than a formula that depends on an open source workbook.
Keep the source workbook open while calculating
Use this workaround if you need to retain the existing INDIRECT or OFFSET formulas.
Work with Excel spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files and continue working with your data in WPS Spreadsheets; it does not fix Excel's closed-workbook formula limitation.

Frequently Asked Questions
Can INDIRECT read a reference from a closed Excel workbook?
Excel's INDIRECT function generally requires the external source workbook to be open. Use a direct external reference or import the source data if the workbook must remain closed.
Will a named range make INDIRECT or OFFSET work with a closed workbook?
A named range does not bypass the closed-workbook limitation. Check the name under Formulas > Name Manager and consider replacing the formula with a direct reference or an imported range.
When can INDEX replace INDIRECT or OFFSET?
INDEX can work when the source range is a direct external reference and the desired row or column can be supplied as an argument. It is not a drop-in replacement when the workbook or sheet name must be assembled dynamically.
How do I update data imported from another workbook?
Select Data > Refresh All in the destination workbook. The source file must be accessible for the refresh to retrieve current data.




