查阅两个列之间的所有匹配和从另一列的返回值之间的所有匹配水平

问题描述 投票:0回答:1

我试图在不同纸张上的表中找到C2和C3(654001T0和654001T1)的所有匹配。这是我的表格:Data containing the values to match

在B列是我需要从第一张纸匹配C2和C3的地方。当找到匹配时,我需要以水平方式从H列返回值。 Data where to find the matches and values to return这是预期的结果:

我正在尝试结合“ iferror,index,offset,unthate的组合

Outcome这是Microsoft 365的解决方案:

excel match offset
1个回答
0
投票

[Sheet1!D2 and fill down]=TOROW(FILTER(Sheet2!$H$4:$H$9;Sheet2!$B$4:$B$9=C2))

记录第一张图片是Sheet1,第二张-Sheet2。 enter image description here

最新问题
© www.soinside.com 2019 - 2025. All rights reserved.