在sheet2中的A1输入公式:=VLOOKUP(B1,IF({1,0},sheet1!:B:B,sheet1!:A:A),2,0)下拉复制。
sheet2 A1公式=vlookup(B1,if({1,0},Sheet1!B:B,Sheet1!A:A),2,0)下拉