How do you find matching numbers in column in Excel? [closed]

放肆的年华 提交于 2019-12-11 05:06:24

问题


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

回答1:


Use the simple formula COUNTIF

Put this in C1

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



来源:https://stackoverflow.com/questions/19899854/how-do-you-find-matching-numbers-in-column-in-excel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!