Excel – How to compare two columns with other two columns for duplicates in Excel

comparisonmicrosoft excelworksheet-function

I need to compare columns C and D with A and B and only if exist same combination of two cells in one row. Hope the image below will explain the situation better.

Image of example data

Best Answer

In E1 you can put

=IF(AND(C1=A1,D1=B1),"exist","")

and drag it down.

Related Question