比较两列如果 2 个单元格匹配
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 ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为您的问题很难遵循,但我会试一试。
如果您只想在单行中比较值,而不要查看另一行使用:
= 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")
最近没有在 Excel 中尝试过此操作,但应该根据您对之前答案的评论进行操作。
Haven't tried this in Excel recently, but should work according to your comments to the previous answers.
= if(and(e6 = b6,f6 = c6),“”,“ d”)
=IF(AND(E6=B6,F6=C6),"","d")