TRy this one will return the 1st match

Formula: copy to clipboard
=INDEX(B:B,MATCH(A2,A:A,0),1)