I have 2 Excel spreadsheets and both sheets have a "Code" field and value that may or may not exist in both. In sheet1 and sheet2 there is also an "ID", i'm hoping that if the "ID" is populated in sheet1 and if the matching code exists in sheet2, a query can transfer the "ID" to sheet 2
SHEET1
SHEET2
I can find the matching values using vlookup but my issue is getting the ID field to populate =VLOOKUP(A1,Sheet1!A:A,1,FALSE)
=VLOOKUP(A1,Sheet1!A:B,2,FALSE)
. You may want to (re)read a VLOOKUP tutorial. – BigBen