File name from cell

K

Kash

=VLOOKUP(C$2,[Malcolm.xls]Login!$M$1:$N$31,2,FALSE)

in the above formula, how to make the file pick from cell? Something like
&A3&".xls"?
 
J

Jacob Skaria

Try

=VLOOKUP(C$2,INDIRECT("'[" & A3 & ".xls]Login'!$M$1:$N$31"),2,FALSE)

If this post helps click Yes
 
K

Kash

But for INDIRECT, other file should be open right? But, how to go if file is
closed?
 
A

Ashish Mathur

Hi,

When I use the indirect.ext function it works fine until I recalculate the
workbook. When I do so, it shows an error value

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com
 

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