#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VLOOKUP

Hi
Can I use vlookup to search for data over several workbooks?

For example look for a part number which could be stored in seperate
workbooks for different manufacturers.

If so can someone give me an example?

Many thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default VLOOKUP

Yes, you can.

Easiest way to do this is to open all the workbooks involved. Then setup
your VLOOKUP() formulas by choosing the different workbooks, sheets within
those workbooks and table ranges needed while they're open. Excel will build
the formulas for you. Then when you close the workbooks, Excel will update
those formulas to show the entire path to the others in your workbook with
the VLOOKUP() formulas.

If you need more help, just let us know. But basically it's just like
setting up a regular VLOOKUP() to other sheets in the same workbook except
you have the extra step of choosing a different workbook before choosing a
different sheet.

Initially a formula might look something like:
=VLOOKUP(A1,[vlookupsource1.xls]Sheet1!$A$1:$C$4,2,FALSE)
(where vlookupsource1.xls is the workbook with the table to be searched), then
when you close that workbook, the formula will automatically change to
include the full path as:
=VLOOKUP(A1,'C:\Documents and Settings\jlatham\My
Documents\[vlookupsource1.xls]Sheet1'!$A$1:$C$4,2,FALSE)

Excel automatically adjust the formulas depending on whether or not the
source workbook(s) is/are open after they've been set up initially.

"F Dee P" wrote:

Hi
Can I use vlookup to search for data over several workbooks?

For example look for a part number which could be stored in seperate
workbooks for different manufacturers.

If so can someone give me an example?

Many thanks.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default VLOOKUP

Many thanks. I will try it tomorrow. Very impressed with the speed of responce.

"JLatham" wrote:

Yes, you can.

Easiest way to do this is to open all the workbooks involved. Then setup
your VLOOKUP() formulas by choosing the different workbooks, sheets within
those workbooks and table ranges needed while they're open. Excel will build
the formulas for you. Then when you close the workbooks, Excel will update
those formulas to show the entire path to the others in your workbook with
the VLOOKUP() formulas.

If you need more help, just let us know. But basically it's just like
setting up a regular VLOOKUP() to other sheets in the same workbook except
you have the extra step of choosing a different workbook before choosing a
different sheet.

Initially a formula might look something like:
=VLOOKUP(A1,[vlookupsource1.xls]Sheet1!$A$1:$C$4,2,FALSE)
(where vlookupsource1.xls is the workbook with the table to be searched), then
when you close that workbook, the formula will automatically change to
include the full path as:
=VLOOKUP(A1,'C:\Documents and Settings\jlatham\My
Documents\[vlookupsource1.xls]Sheet1'!$A$1:$C$4,2,FALSE)

Excel automatically adjust the formulas depending on whether or not the
source workbook(s) is/are open after they've been set up initially.

"F Dee P" wrote:

Hi
Can I use vlookup to search for data over several workbooks?

For example look for a part number which could be stored in seperate
workbooks for different manufacturers.

If so can someone give me an example?

Many thanks.

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 - Does the VLookUp return the exact information? Cpviv Excel Worksheet Functions 2 October 28th 08 09:57 AM
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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