excel-formula - 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", "")
- Instead of No Match in B I want the actual value in Column A to be listed. Can the formula be edited to accomplish this?
解决方案
在C2中的公式中替换:
“在 B 中没有匹配”
和:
2 澳元
并向下复制。
推荐阅读
- javascript - 如何获取嵌套数据库中的值?
- javascript - JavaScript 不会在字符串中包含 tr- 和 td-tags
- java - 可被三除
- google-bigquery - Bigquery 使用 Terraform 从工作表文件创建表
- windows - 在 Windows 10 问题中不显示简单的网络管理协议
- python - 给定一对字符,在字符串中找到该对的个数
- vba - 如何在不需要 Microsoft Office 16.0 对象库的情况下使用后期绑定
- python - Python3 返回意外的 Unicode/ASCII
- swift - 如果删除轨道,是否需要在可变组合中更新所有后续轨道?
- contour - ValueError:等高线级别必须增加 - Python 中的等高线图