Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Linking two different workbooks with vlookup

I´m having a problem about linking a few workbooks to one, my idea initially
was that i can separate the reference, lets suppose my formula goes this way:

VLOOKUP($A1,'C:\INFO\MONTH\[REPORT MONTH.xls]Sheet3'!$B$4:$J$158,$A39,FALSE)

Now my idea is that if I have a several number of months saved in a folder
with the name of the month, then I can referentiate the month in a column,
lets say I could do something like this:

=Concatenate("'C:\INFO\","B5","\[REPORT","B5",".xls]Sheet3'!$B$4:$J$158")

Where the value of B5 is (January, February.... or anymonth) plz

BUT!!!!!!! This is not working so I would really appreatiate some help with
this cuz i think this will solve a lot of problems.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Linking two different workbooks with vlookup

VLOOKUP($A1,'C:\INFO\MONTH\[REPORT
MONTH.xls]Sheet3'!$B$4:$J$158,$A39,FALSE)

Now my idea is that if I have a several number of months saved in a
folder with the name of the month, then I can referentiate the month
in a column, lets say I could do something like this:

=Concatenate("'C:\INFO\","B5","\[REPORT","B5",".xls]Sheet3'!$B$4:$J$158
")

Where the value of B5 is (January, February.... or anymonth) plz

BUT!!!!!!! This is not working ...


Try removing the quotes from around B5 in the concatenation.

The formula needs to have the contents of the cell B5, not the two-
character string "B5".
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Linking two different workbooks with vlookup

MMMM that doesn´t work (I wrote wrong the formula in the discussion board) I
think the formula can´t be entered that way but thanks for trying it....
probably the vlookup can´t work with concatenations that way, do you know
another possible way to work it out?

"MyVeryOwnSelf" wrote:

VLOOKUP($A1,'C:\INFO\MONTH\[REPORT
MONTH.xls]Sheet3'!$B$4:$J$158,$A39,FALSE)

Now my idea is that if I have a several number of months saved in a
folder with the name of the month, then I can referentiate the month
in a column, lets say I could do something like this:

=Concatenate("'C:\INFO\","B5","\[REPORT","B5",".xls]Sheet3'!$B$4:$J$158
")

Where the value of B5 is (January, February.... or anymonth) plz

BUT!!!!!!! This is not working ...


Try removing the quotes from around B5 in the concatenation.

The formula needs to have the contents of the cell B5, not the two-
character string "B5".

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Linking two different workbooks with vlookup

I'm having a problem about linking a few workbooks to one, my idea
initially was that i can separate the reference, lets suppose my
formula goes this way:

VLOOKUP($A1,'C:\INFO\MONTH\[REPORT
MONTH.xls]Sheet3'!$B$4:$J$158,$A39,FALSE)

Now my idea is that if I have a several number of months saved in a
folder with the name of the month, then I can referentiate the month
in a column, lets say I could do something like this:

=Concatenate("'C:\INFO\","B5","\[REPORT","B5",".xls]Sheet3'!$B$4:$J$158
")

Where the value of B5 is (January, February.... or anymonth) plz

BUT!!!!!!! This is not working so I would really appreatiate some help
with this cuz i think this will solve a lot of problems.


Maybe this would be a start.
=VLOOKUP($A1,
INDIRECT("'C:\INFO\"&B5&"\[REPORT"&B5&".xls]Sheet3'!$B$4:$J$158"),
$A39,FALSE)

I haven't tried your example, but have used a similar approach within one
workbook.

(I have Excel 2003.)
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default Linking two different workbooks with vlookup

If you're still having trouble, Excel has a feature that might help.

In Excel 2003, select the cell with the troublesome formula and use:
Tools Formula auditing Evaluate formula
The resulting dialog box walks through the evaluation steps that Excel
uses. Each time you click "Evaluate" Excel does one more step. In this
case, if you click until the argument of INDIRECT(__) is one underlined
string, it'll show exactly the table_array being used for VLOOKUP(). That
should help adjust the table_array's fragments, if needed.
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
Linking workbooks Joanne New Users to Excel 1 June 23rd 07 10:58 AM
linking workbooks Kaby Excel Discussion (Misc queries) 9 August 31st 06 09:11 PM
linking workbooks twilcox New Users to Excel 3 June 15th 06 08:31 PM
Linking 2 workbooks jacob Excel Worksheet Functions 11 May 12th 06 02:48 PM
Linking Workbooks Barbara Excel Worksheet Functions 2 March 21st 05 03:49 AM


All times are GMT +1. The time now is 02:37 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"