INDIRECT and External workbooks

Snypa

New Member
Joined
Nov 1, 2013
Messages
45
Hello,

I was working on a formula and when I released INDIRECT does not work when workbooks are closed. The reason I need to use indirect is because I do not have control over the source workbook and sometimes columns are added/removed.

Here is a section on my formula:


Code:
=INDIRECT("'\\fileserv\scanning\[STORES.xlsx]Stores List'"&"!"&SUBSTITUTE(ADDRESS(1,Settings!F$27,4),"1","") & ROW()-1)


The column I was is stored in Settings!F$27. Is there any way I can make this work without needing to have the Stores file open?
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi Snypa,

I suggest that you review this thread:
HTML:
https://www.mrexcel.com/forum/excel-questions/1080504-how-reference-cells-another-workbook-based-path-value-cell.html

+ Microsoft's INDIRECT function webpage states the same:
If ref_text refers to another workbook (an external reference), the other workbook must be open. If the source workbook is not open, INDIRECT returns the #REF ! error value.
HTML:
https://support.office.com/en-us/article/indirect-function-474b3a3a-8a26-4f44-b491-92b6306fa261
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,021
Members
449,092
Latest member
ikke

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
Back
Top