Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Vlookup in another workbook

Hi Group,

Im trying to execute the following task:

i have workbook A thats made up of many sheets with 8 columns each. in
workbook B in need to run a search that looks in column 8(this column
has contains unique numbers) and when it finds a match in workbook A
it wiil copy the contents of the row in which that match was found.

Basically its a cross hair

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default Vlookup in another workbook

So are you trying to lookup the value across multiple sheets of another
workbook? If so, then you may need to write your own function.

If you look in only one sheet, then consider using a helper column. Use
MATCH to find the correct row and OFFSET or INDEX to return the data at that
given row. This will cause the spreadsheet to find the correct row only once
whereas VLOOKUP has to find the record each time.

=MATCH(valueToFind,'WorkbookA.xls!'$H:$H,FALSE)
=INDEX('WorkbookA.xls'!$A:$H,row#,{1,2,3,4,5,6,7,8 })

The INDEX function will return the entire row if you enter the formula
across 8 cells and use CTRL+SHIFT+ENTER. If you need help with this, let me
know and I can send you an example.

Matthew Pfluger

HTH,
Matthew Pfluger

"Luis A. Vázquez" wrote:

Hi Group,

Im trying to execute the following task:

i have workbook A thats made up of many sheets with 8 columns each. in
workbook B in need to run a search that looks in column 8(this column
has contains unique numbers) and when it finds a match in workbook A
it wiil copy the contents of the row in which that match was found.

Basically its a cross hair


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 other workbook swell estimator[_2_] Excel Discussion (Misc queries) 1 September 9th 08 07:10 PM
Vlookup on second WorkBook Patrick Simonds Excel Programming 8 October 15th 06 11:00 PM
Vlookup to closed workbook ? Les Stout[_2_] Excel Programming 4 November 2nd 05 06:42 PM
Vlookup for two sheets in same workbook Roberta Excel Discussion (Misc queries) 3 February 23rd 05 12:29 PM
VLOOKUP into another workbook L Mehl Excel Programming 6 February 5th 04 05:45 AM


All times are GMT +1. The time now is 12:39 PM.

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

About Us

"It's about Microsoft Excel"