如何在Excel列中找到匹配的数字? [英] How do you find matching numbers in column in Excel?

查看:148
本文介绍了如何在Excel列中找到匹配的数字?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Excel中有A和B列,如果数字在两列中,我想在C列中自动在列C中写入Exist。在



示例:

  A | B | C 
1 | 2 |不存在
3 | 4 |不存在
5 | 1 |存在
6 | 7 |不存在


解决方案

使用简单公式 COUNTIF



将其放在 C1



= IF(COUNTIF(A:A,B1)> 0,存在,不存在)




I have A and B columns in Excel, if the number is in both the columns, I want to write note "Exist" in columns C automatically, in the row that the value appears in column B.

Example:

A   |  B | C 
1   |  2 | Not Exist
3   |  4 | Not Exist
5   |  1 | Exist
6   |  7 | Not Exist

解决方案

Use the simple formula COUNTIF

Put this in C1

=IF(COUNTIF(A:A,B1)>0,"Exists","Doesn't Exist")

这篇关于如何在Excel列中找到匹配的数字?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆