How do I test for multiple conditions using Excel.
For Example:
I have Text in A2 'foo' and for each cell in column A:A that has 'foo' I want to Match B2 'Bar' to each cell in Column B:B. If the cell in A3 contains 'foo' and B3 contains 'bar', output "Match", Else "NA"
I have tried =IF(AND(A2=A:A,B2=B:B),"Match","NA"), but it does not work properly.