我在excel电子表格中有以下数据
customer_id old_customer_id parent_id
ACF00408 ALL02364 1819
ADA00856 ALT00420 1824
ALT00420 1829
ALL02364 ADA00856 1834
ALL00523 1839
AME02272 ACF00408 28921
如何映射列customer_id和old_customer_id以获得相关的parent_id,如下所示
例如,如果在ACF00408
和customer_id
中都找到old_customer_id
,则其parent_id应该是28921
而不是1819
customer_id parent_id
ACF00408 28921
ADA00856 1834
ALT00420 1824
ALL02364 1819
ALL00523
AME02272
尝试使用= VLOOKUP($ A2,$ B $ 2:$ C $ whatever,2,0)但不起作用