M
Max
One way, using index/match
Assuming data starts in row2 down in Sheet1
In Sheet1,
Put in C2:
=IF(ISNA(MATCH(B2,Sheet2!A:A,0)),"",INDEX(Sheet2!B:B,MATCH(B2,Sheet2!A:A,0)))
Copy down
Assuming data starts in row2 down in Sheet1
In Sheet1,
Put in C2:
=IF(ISNA(MATCH(B2,Sheet2!A:A,0)),"",INDEX(Sheet2!B:B,MATCH(B2,Sheet2!A:A,0)))
Copy down