Indirect Reference to Other files

G

Guest

Good Afternoon

I wonder if someone out there can help me.

Say, in cell A1 is the formula:
='A:\Folder1\Folder2\[File1.xls]DATA'!$A$4

Is it possible to change this using the INDIRECT function (or otherwise)?

i.e. if in B1 I put
Folder3

Is there a formula I can put in A1 which is like the one above that
references automatically what is in B1?

e.g. (and I know this is wrong)
='A:\Folder1\INDIRECT(B2)\[File1.xls]DATA'!$A$4
 
S

Special-K

Why dont you just use CONCATENATE, something like e.g.

=CONCATENATE('A:\Folder1\',B2,'\[File1.xls]DATA')!$A$
 
G

Guest

Ardus that didn't work mate

Ardus Petus said:
=INDIRECT("'A:\Folder1\Folder2\"&B1&"\[File1.xls]DATA'!$a$4")

HTH
--
AP

Danny Lewis said:
Good Afternoon

I wonder if someone out there can help me.

Say, in cell A1 is the formula:
='A:\Folder1\Folder2\[File1.xls]DATA'!$A$4

Is it possible to change this using the INDIRECT function (or otherwise)?

i.e. if in B1 I put
Folder3

Is there a formula I can put in A1 which is like the one above that
references automatically what is in B1?

e.g. (and I know this is wrong)
='A:\Folder1\INDIRECT(B2)\[File1.xls]DATA'!$A$4
 
A

Ardus Petus

File1.xls must be opened.
Otherwise, no way!

HTH
--
AP

Danny Lewis said:
Ardus that didn't work mate

Ardus Petus said:
=INDIRECT("'A:\Folder1\Folder2\"&B1&"\[File1.xls]DATA'!$a$4")

HTH
--
AP

Danny Lewis said:
Good Afternoon

I wonder if someone out there can help me.

Say, in cell A1 is the formula:
='A:\Folder1\Folder2\[File1.xls]DATA'!$A$4

Is it possible to change this using the INDIRECT function (or
otherwise)?

i.e. if in B1 I put
Folder3

Is there a formula I can put in A1 which is like the one above that
references automatically what is in B1?

e.g. (and I know this is wrong)
='A:\Folder1\INDIRECT(B2)\[File1.xls]DATA'!$A$4
 
G

Guest

Ahhh I opened the file and it worked. That's excellent thanks very much.

Ardus Petus said:
File1.xls must be opened.
Otherwise, no way!

HTH
--
AP

Danny Lewis said:
Ardus that didn't work mate

Ardus Petus said:
=INDIRECT("'A:\Folder1\Folder2\"&B1&"\[File1.xls]DATA'!$a$4")

HTH
--
AP

"Danny Lewis" <Danny (e-mail address removed)> a écrit dans le
message de news: (e-mail address removed)...
Good Afternoon

I wonder if someone out there can help me.

Say, in cell A1 is the formula:
='A:\Folder1\Folder2\[File1.xls]DATA'!$A$4

Is it possible to change this using the INDIRECT function (or
otherwise)?

i.e. if in B1 I put
Folder3

Is there a formula I can put in A1 which is like the one above that
references automatically what is in B1?

e.g. (and I know this is wrong)
='A:\Folder1\INDIRECT(B2)\[File1.xls]DATA'!$A$4
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top