Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Blow
 
Posts: n/a
Default vlookup, &, indirect

Hi,

I am sure this has been discussed but I am having trouble
understanding what is needed.
I think I need to use a indirect call within vlookup.

Scenario
multiple workbooks with same name except a with a differing date.
ie file 'foo 01.12.03.xls'
worksheet in each file foo called 'auth zoo'
I have a summary workbook with a column with each date: E2 = 01.12.03
also in summary, A1 = 'foo ' and B1 = auth zoo'!$C$11:$I$81 and C1 =
..xls
my lookup value is in A3
what I would like to do, but I am not having too much success is:
vlookup(A3,indirect(A1&E2&C1&B1),7,0)

I would greatly appreciate it if someone could explain the error of my
ways. Thanks.

Regards,
Joe
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

You forgot some things

=VLOOKUP(A3,INDIRECT("'["&A1&" "&E2&C1&"]"&B1),7,0)


will work, I removed the space from A1 and hardcoded it into the formula
after the second ampersand, since it is not visible
it is hard to check the formula for errors, if you want to keep the space

=VLOOKUP(A3,INDIRECT("'["&A1&E2&C1&"]"&B1),7,0)


--

Regards,

Peo Sjoblom

"Joe Blow" wrote in message
...
Hi,

I am sure this has been discussed but I am having trouble
understanding what is needed.
I think I need to use a indirect call within vlookup.

Scenario
multiple workbooks with same name except a with a differing date.
ie file 'foo 01.12.03.xls'
worksheet in each file foo called 'auth zoo'
I have a summary workbook with a column with each date: E2 = 01.12.03
also in summary, A1 = 'foo ' and B1 = auth zoo'!$C$11:$I$81 and C1 =
.xls
my lookup value is in A3
what I would like to do, but I am not having too much success is:
vlookup(A3,indirect(A1&E2&C1&B1),7,0)

I would greatly appreciate it if someone could explain the error of my
ways. Thanks.

Regards,
Joe



  #3   Report Post  
Joe Blow
 
Posts: n/a
Default

On Thu, 3 Mar 2005 14:55:38 -0700, "Peo Sjoblom"
wrote:

You forgot some things

=VLOOKUP(A3,INDIRECT("'["&A1&" "&E2&C1&"]"&B1),7,0)


will work, I removed the space from A1 and hardcoded it into the formula
after the second ampersand, since it is not visible
it is hard to check the formula for errors, if you want to keep the space

=VLOOKUP(A3,INDIRECT("'["&A1&E2&C1&"]"&B1),7,0)


Thanks Peo!

Regards,
Joe
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
make a vlookup using a variable path Alex St-Pierre Excel Worksheet Functions 1 March 2nd 05 11:54 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM
Need help with modifying VLookUp Tom Excel Discussion (Misc queries) 4 December 2nd 04 12:44 AM
VLOOKUP not working Scott Excel Worksheet Functions 3 November 12th 04 08:06 PM


All times are GMT +1. The time now is 01:01 AM.

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"