【发布时间】:2021-05-13 15:29:43
【问题描述】:
使用 VLookup 时有没有办法排除当前行?
我正在尝试确定以下内容:
If two rows have the same value in column A,
check if they have the same value in column B.
在我看来
=exact(B2,vlookup(A2,A:C,2,FALSE))
应该能够做到这一点,我唯一想不通的是如何忽略当前行,这样它就不会与自己进行比较。
只需从比当前行低一行开始 vlookup 范围就可以了,除非 A 列中具有匹配值的行可能高于或低于当前行。
谢谢!
【问题讨论】:
标签: google-sheets google-sheets-formula vlookup array-formulas countif