If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Referencing External Workbooks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-30-09, 12:00
eddiesvoicebox eddiesvoicebox is offline
Registered User
 
Join Date: Sep 2004
Location: London
Posts: 63
Referencing External Workbooks

Good afternoon everyone, i hope you can help.

I have a workbook that uses vlookups to return values from another file. What i want to be able to do is change that file based upon the selection from a combo box. i know i have done this is thepast but cant for the life of me remember how i did it.

my current formula is:
=vlookup(AB2,'C:\TEMP\Chris\[PRV_Car_2009_5+7.xls]Monthly'!$A$7:$N$18,5,0)

i basically want to be able to change the 5+7 part of the file name somehow so it will look at a different file based upon the selection made.

Hope that makes sense.

Thanks

EddiesVoicebox
Reply With Quote
  #2 (permalink)  
Old 08-08-09, 21:05
sco08y sco08y is offline
Registered User
 
Join Date: Oct 2002
Location: Baghdad, Iraq
Posts: 697
I think you're looking for the INDIRECT function.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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