匹配一对细胞与另一对单元

发布于 2025-01-26 17:11:44 字数 287 浏览 1 评论 0原文

我试图返回一个真或错误的值(用于有条件的突出显示),以查看一对单元格与另一对单元格(重要的是是一对或更准确地,在同一行上)。例如,哪种公式适合以下所需的输出。

请注意,我们在这里检查第3和4列是否一起出现在第1和2列中。

I was trying to return a TRUE or FALSE value (to be used for conditional highlighting) to see if a pair of cells match another pair of cells (important that it's a pair or, more accurately, on the same row). For instance, what formula would be appropriate for the following desired output to be reflected.

enter image description here

Note that here we are checking if Column 3 and 4 values together appear in column 1 and 2 together.

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

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

发布评论

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

评论(1

︶葆Ⅱㄣ 2025-02-02 17:11:45

基于您的数据,这应该有效:

= not(IsError(find(textjoin(“ |”,false,d2:e2)),textjoin(“ |”,false,$ a $ a $ 2:$ b $ 6)))))))))))))))))

如果您可以拥有“ apple | a”和“ a | apple”,这将无法使用。

Based on your data this should work:

=NOT(ISERROR(FIND(TEXTJOIN("|",FALSE,D2:E2),TEXTJOIN("|",FALSE,$A$2:$B$6))))

This will not work if you can have "Apple|A" and "A|Apple".

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