calling a value from another file using a variable in the file nam

D

DA_Potts

I want to call a value from another excel file using a different file
depending on the date. In my attempt, which I have below, "E3" represents a
date of the month, 1-31.

=INDIRECT(CONCATENATE("'[daily flash ",E3,".xls]sheet1'! E22"))

In this case I want the data from a file called Daily Flash 3.xls, (where
E3=3), sheet 1, and cell E22.

Any ideas?
 
D

DA_Potts

DA_Potts said:
I want to call a value from another excel file using a different file
depending on the date. In my attempt, which I have below, "E3" represents a
date of the month, 1-31.

=INDIRECT(CONCATENATE("'[daily flash ",E3,".xls]sheet1'! E22"))

In this case I want the data from a file called Daily Flash 3.xls, (where
E3=3), sheet 1, and cell E22.

Any ideas?

Sorry... I forgot to mention I am using Excel 2003.
 
D

DA_Potts

I have no idea what you mean by this response....
T. Valko said:
See your other post

--
Biff
Microsoft Excel MVP


DA_Potts said:
I want to call a value from another excel file using a different file
depending on the date. In my attempt, which I have below, "E3" represents
a
date of the month, 1-31.

=INDIRECT(CONCATENATE("'[daily flash ",E3,".xls]sheet1'! E22"))

In this case I want the data from a file called Daily Flash 3.xls, (where
E3=3), sheet 1, and cell E22.

Any ideas?
 
D

David Biddulph

What he means is that you asked broadly the same question in another group,
and his answer is there. Ths sort of confusion (and particularly when you
omit some of the detail in one version of the message) is why multi-posting
is a breach of netiquette. Next time, choose one group and stick to it.
--
David Biddulph

DA_Potts said:
I have no idea what you mean by this response....
T. Valko said:
See your other post

--
Biff
Microsoft Excel MVP


DA_Potts said:
I want to call a value from another excel file using a different file
depending on the date. In my attempt, which I have below, "E3"
represents
a
date of the month, 1-31.

=INDIRECT(CONCATENATE("'[daily flash ",E3,".xls]sheet1'! E22"))

In this case I want the data from a file called Daily Flash 3.xls,
(where
E3=3), sheet 1, and cell E22.

Any ideas?
 

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