首页 > 解决方案 > Excel: find values in column A but not in column B, return values in column C

问题描述

Find all values which are in column A but not in column B.

This formula searches across the entire column B for the value in cell A2. If no match is found, the formula returns "No match in B", an empty string otherwise:

=IF(COUNTIF($B:$B, $A2)=0, "No match in B", "")

enter image description here

标签: excel-formula

解决方案


C2中的公式中替换:

“在 B 中没有匹配”

和:

2 澳元

并向下复制。


推荐阅读