View Single Post
  #5   Report Post  
bala_vb bala_vb is offline
Senior Member
 
Location: Hyderabad
Posts: 237
Thumbs up

Quote:
Originally Posted by sebastico View Post
Excel 2003

Sheet1 has one column with 904 records (alphanumeric)
Sheet2 has one column with 1069 records (alphanumeric)
Both fields have same format (17 characters)

I need a code to read each record in sheet 1, then go to sheet 2 and read
the records, if the record is found then copy the record from sheet2 and
paste it in sheet1 next to the record. Do the same with all records in sheet2.
try this
=IF(ISERROR(VLOOKUP(A1,Sheet2!A:A,1,0)),"",VLOOKUP (A1,Sheet2!A:A,1,0))
__________________
Thanks
Bala