问题
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