Indirect - #ref to closed workbooks

GrahamH

New Member
Joined
Jun 24, 2004
Messages
23
Hi all

I am seeking a solution to a problem with the indirect function referencing closed workbooks.

When the workbooks are opened all the functions work well to colate and consolidate the data. However the when any one of the sheets is closed I get #ref.

I have used Indirect() to reference sheets which are subject to change and are given a new suffix (v1; v2 etc) for version control. I just need to change the appropriate value in a named range "workbook" rather than change all the formulas individually.

=INDIRECT("'["&workbook&".xls]"&"Employee Related Summary'!$F$63")/1000

Does anyone have ideas how to make indirect() function like a direct link and refresh the data without opening every workbook?

Any assistance would be mightily appreciated

Cheers
GH
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Smitty

Legend
Joined
May 15, 2003
Messages
29,536
You can use Indirect.EXT from the Morefunc add-in. You'll find the link in the "Recommended Links & Add-Ins" section. (SLOOOW internet connection or I'd post it...)

Hope that helps,

Smitty
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,632
Messages
5,832,774
Members
430,167
Latest member
Gogogoben

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top