我列 “宣言A” 和 “宣言B” (与其通讯员 “卷”)。 “A” 有超过1000行, “B” 约为800,所以不可能手工完成。
列 “宣言C” 必须包含 “A”的结果 > “B” 匹配和配对,并在无匹配的位置添加空白单元格。
这是在 here 之前完成的,并且一切正常,直到我发现某些单元格在 “A”列中可能具有相同的值和 “B” 。我没有预料到这一点。
我举了一个例子来说明当我应用answer时遇到的另一个问题时发生的事情:
请注意,配对完全正常,但 “Volumes C” 单元格正在从与第一个“17616”耦合的卷中重复< “Manifestos B” 栏上的/ strong>宣言单元格,这不可能发生。
单元格 K3 的公式如下:
=IF(NOT(ISERROR(MATCH(C3,G$3:G$15,0))),C3,"")
对于单元 L3 和下面的
=IFERROR(VLOOKUP(K3,G$3:H$15,2,0),"")
现在我必须将“用户”过滤器添加到等式中,以便我可以得到下面的预期结果:
答案 0 :(得分:4)
您可以在“L3”中尝试此公式并将其复制下来:
=SUMIFS($H$3:$H$15;$F$3:$F$15;J3;$G$3:$G$15;K3)