Google表格试图匹配另一个标签上两列的数据

时间:2019-03-06 19:54:41

标签: google-sheets google-sheets-formula

我有一个公式可以工作,只要它要从中匹配的所有数据都在A列中即可。我还需要它来查看B列中的数据以查看是否匹配。我还有另一个匹配两个不同列的公式,我还需要它在A和B中查找数据。这两个都用于条件格式。谁能帮助我进行设置,使其在A列和B列的“已接收”选项卡上显示?

当前有效的公式:

=match($C:$C, indirect("Received!A2:A"),0)

=and(match($I:$I, indirect("Received!A2:A"),0), (match($O:$O, indirect("Received!A2:A"),0)))

我正在尝试执行的操作但不起作用:

=match($C:$C, indirect("Received!A2:B"),0)

=and(match($I:$I, indirect("Received!A2:B"),0), (match($O:$O, indirect("Received!A2:B"),0)))

测试文档:https://docs.google.com/spreadsheets/d/1dDrmASkiy4KY8ywVuBLdZzAZtvyTohJBFFWtSte5g8A/edit?usp=sharing

1 个答案:

答案 0 :(得分:0)

尝试:

=OR(MATCH($C:$C,INDIRECT("Received!A2:A"),0),MATCH($C:$C,INDIRECT("Received!B2:B"),0))

和:

=OR(AND(MATCH($I:$I,INDIRECT("Received!A2:A"),0),(MATCH($O:$O,INDIRECT("Received!A2:A"),0))),
    AND(MATCH($I:$I,INDIRECT("Received!B2:B"),0),(MATCH($O:$O,INDIRECT("Received!B2:B"),0))))