#1   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Vlookup question

Not really, as I assume that Test01042006 will be closed, and the usual
method uses INDIRECT, which does not work with closed workbooks. In this
case you would use

=VLOOKUP(A1,INDIRECT("'C:\["&A1&"]Sheet1'!$A:$B",2,0)

but there is a solution at
http://makeashorterlink.com/?F2993260A


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"ingleg" wrote in
message ...

Hi

I am compiling a spreadsheet that is a series of vlookup columns.

My formula is similar to:

=VLOOKUP(A1,'C:\[Test31032006.xls]Sheet1'!$A:$B,2,0)

Where 31032006 in the file name is the date looked at.

Is it possible to change the formula, to look at a cell reference, and
make it look at the correct file, eg Test01042006.xls?

Thanks in advance.


--
ingleg
------------------------------------------------------------------------
ingleg's Profile:

http://www.excelforum.com/member.php...o&userid=33037
View this thread: http://www.excelforum.com/showthread...hreadid=528538



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup question Greegan Excel Worksheet Functions 3 December 20th 05 04:00 AM
VLOOKUP() Question... i hope Adam Kroger Excel Discussion (Misc queries) 2 November 29th 05 10:22 PM
Vlookup question please Bob Newman Excel Worksheet Functions 3 March 17th 05 02:17 PM
vlookup question please Bob Newman Excel Worksheet Functions 1 March 17th 05 06:25 AM
Vlookup against multiple columns/worksheets question JCarter Excel Discussion (Misc queries) 8 March 9th 05 04:59 PM


All times are GMT +1. The time now is 07:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"