私は2枚あります。 1つは子テーブルで、もう1つはマスターテーブルです。マスターテーブルシートにあるマスターテーブルからmaster_idを取得する必要があります。EXCEL:VlookupとMatch機能 - 隣のセル値を取得する
以下に示すように、私はこれをExcel: Check if Cell value exists in Column, and then get the value of the NEXT Cellから得る式で、それは私のために働かなかった。
ありがとうございます。
子テーブル
A B C
child_id reference_no master_id
1 2017001 =IF(MATCH(B2,master.B2:B15,1), "NO MATCH", VLOOKUP(B2,master.A2:B15,2,0))
2 2017002 NO MATCH
マスター表
A B
master_id reference_no
a1 2017002
a2 2017003