如何匹配来自2张不同的工作表的数据,并在excel中匹配?

我在excel中使用了两张不同的表单,一个是testData,另一个是QLD。 我需要匹配两张表中的ID,如果有匹配,则将QLD表格的价格列。 目前的数据结构是这样的

testing数据

A)ProductID | B)PriceMatch S100 | Need to match S200 | Need to match S300 | Need to match 

QLD

 A) ProductID | B)Price S100 | $100 S200 | $200 S300 | $300 

索引/比赛将为您创造奇迹

句法

  {=index('range where return value is <price>', match('test value', 'range where test value is', 0))} 

记得进入使用控制+ shift +进入

在B1中的testData中input公式

= INDEX(QLD!$ B:$ B; MATCH(testData!$ A1; QLD!$ B:$ B; 0); COLUMNS($ A:A))