Question

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
Was it helpful?

Solution

Use the simple formula COUNTIF

Put this in C1

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

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top