A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Dear respected Stardust61792,
Good day! Thank you for posting to Microsoft Community. We are happy to help you.
As per your description, to retrieve the corresponding code from Sheet 1 for each name in Sheet 2, you can use the VLOOKUP formula.
Here is Formula for your reference: =VLOOKUP(A2, Sheet1!A:B, 2, FALSE)
If there is any misunderstanding, I apologize and please feel free to post back to us with more detailed information for better understanding and guiding you further.
Appreciate your patience and understanding and thank you for your time and cooperation.
Sincerely,
Waqas Muhammad