Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
sarahp
 
Posts: n/a
Default vLookup ... help please


Hi,

I made a mistake last time ....sorry

I have two separates excel workbooks ( not worksheets!!).

Workbook no 1 which has several columns : A ( XP numbers) to O

Workbook no 2 which has two columns : A ( XP numbers) and B ( DOI
numbers)


PS: both workbooks have column A in common ( XP numbers)

I am trying to extract the data from the column B ( DOI numbers ) of
workbook no 2 and insert them into workbook no 1 ONLY when the data
from column A ( XP numbers) match !


Can anyone help me with the formula?
Step by step ...

Also it is possible to automatically repeat the same formula accross
several other workbooks ?:

..... with Workbook no 3 and 4 and 5 ...etc ....( Identical to
woorkbook no 2) : has two columns : A ( XP numbers) and B ( DOI
numbers)

Many thanks

Sarah


--
sarahp
------------------------------------------------------------------------
sarahp's Profile: http://www.excelforum.com/member.php...o&userid=27623
View this thread: http://www.excelforum.com/showthread...hreadid=473739

  #2   Report Post  
swatsp0p
 
Posts: n/a
Default


A formula similar to this should work for you:

=IF(ISNA(VLOOKUP(A2,'C:\My
Documents\[Book2.xls]Sheet1'!$A1:B1000,2,1)),"Not
Found",VLOOKUP(A2,'C:\My Documents\[Book2.xls]Sheet1'!$A1:B1000,2,1))

Of course, adjust the path to the other workbook and the lookup range
as needed.

I added the error trap of ISNA to return "Not Found" if the value in
col. A is not found in the lookup range. Without this, #N/A would be
returned for each value not found.

HTH


--
swatsp0p


------------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...o&userid=15101
View this thread: http://www.excelforum.com/showthread...hreadid=473739

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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 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


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