View Single Post
  #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