Function Problems

Fix Excel INDIRECT and OFFSET References to Closed Workbooks

Jason MillerJason Miller Nov 20, 2026 869 views

Question details

The user needs to access external workbook data without keeping the source workbook open.

Fix Excel INDIRECT and OFFSET References to Closed Workbooks
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.
Before you start

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.

Solution 1Recommended

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.

1
Inspect the existing formula

Select the affected cell and check the formula bar for the source workbook, sheet, range, and position being returned.

2
Create a direct reference

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.

3
Test with the source closed

Save both workbooks, close the source workbook, and recalculate the destination workbook. Excel may add the full file path to the external reference.

Replace the external reference with an INDEX-based formula
Formula requirements: INDEX is suitable when the external range can be specified directly. It does not replace every INDIRECT or OFFSET formula, especially when the workbook or sheet name must be constructed dynamically.
Free Microsoft Office alternative

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.

Open and edit Microsoft Excel XLSX and XLS filesWork with spreadsheet data and formulas in a familiar interfaceMove existing Office files into a lightweight, easy-to-use suiteUse a free alternative for everyday spreadsheet tasks
microsoft office alternative - wps office

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.