比较两列如果 2 个单元格匹配

发布于 2025-01-20 14:11:14 字数 275 浏览 1 评论 0原文

我的目的是检查E6和F6上的值(一起)是否与B6和C6上的值匹配(一起)。对于前。如果(AA28E和0.25)与E和F列上的值匹配,则A列将为空白,否则将添加“ D”字符串。

我应该如何纠正公式?

My intention is to check if the value on E6 and F6(together) are matching the values on B6 and C6(together). For ex. if (AA28E and 0.25) is matching with the values on column E and F, the A column will be blank otherwise it will add "d" string.

How should I correct the formula ?

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

何以心动 2025-01-27 14:11:14

我认为您的问题很难遵循,但我会试一试。
如果您只想在单行中比较值,而不要查看另一行使用:

= if(and(b3 = d3,c3 = e3),“,”,“ d”)>

如果想知道e& f的一行中的值是否与列的行b& c完全匹配。

= if(countifs(b:b,d3,c:c,e3)> 0,“”,“ d”)

I think your question is hard to follow but I'll give it a shot.
If you only want to compare values with in the single row use and not look at a different row use:

=IF(AND(B3=D3,C3=E3),"","d")

If want to know if the values in one row of E&F match exactly the rows of columns B&C use COUNTIFS().

=IF(COUNTIFS(B:B,D3,C:C,E3)>0,"","d")

牵你手 2025-01-27 14:11:14

最近没有在 Excel 中尝试过此操作,但应该根据您对之前答案的评论进行操作。

=IFERROR(IF(MATCH(1,(D:D=B1)*(E:E=C1),0), ""), "d")

Haven't tried this in Excel recently, but should work according to your comments to the previous answers.

=IFERROR(IF(MATCH(1,(D:D=B1)*(E:E=C1),0), ""), "d")
稀香 2025-01-27 14:11:14

= if(and(e6 = b6,f6 = c6),“”,“ d”)

=IF(AND(E6=B6,F6=C6),"","d")

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文