Indirect formula

S

Samir

Hello everyone,

I need to write a formula to obtain values from another
work book. At this moment the formula looks like this:

=[My Book.xls]Test'!B6

The above formula is in another workbook in sheet "My
Sheet". I want to write the formula so the column
reference B is taken from A1 in sheet "My Sheet". This is
because each week the column letter changes for the
report. Any help appreciated.

Regards

Samir
 
F

Frank Kabel

Hi
the following works ONLY if the other workbook is open!:
=INDIRECT("'[My Book.xls]Test'!" & A1 & "6")
 
S

Samir

Frank,

Thanks. This works.

Regards

Samir
-----Original Message-----
Hi
the following works ONLY if the other workbook is open!:
=INDIRECT("'[My Book.xls]Test'!" & A1 & "6")

--
Regards
Frank Kabel
Frankfurt, Germany

Hello everyone,

I need to write a formula to obtain values from another
work book. At this moment the formula looks like this:

=[My Book.xls]Test'!B6

The above formula is in another workbook in sheet "My
Sheet". I want to write the formula so the column
reference B is taken from A1 in sheet "My Sheet". This is
because each week the column letter changes for the
report. Any help appreciated.

Regards

Samir
.
 

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