compare two columns

  • Thread starter Thread starter Theresa
  • Start date Start date
T

Theresa

I need to compare two columns of numbers and return what doesn't match. What
formula would I use?
 
Assuming data in Columns A & B with the formula in Column C:

=IF(A1<>B1,"No Match","")

or if you prefer a True/False

=IF(A1<>B1,False,True)

Adjust column and rows as needed and copy down as far as necessary.
 
If you want to see if any of the numbers in column A match with any of
the numbers in column B, then put this in C1:

=IF(ISNA(MATCH(A1,B:B,0)),"No match","")

Copy this down as far as necessary to cover your numbers.

Hope this helps.

Pete
 
Thanks Pete, works great!

Pete_UK said:
If you want to see if any of the numbers in column A match with any of
the numbers in column B, then put this in C1:

=IF(ISNA(MATCH(A1,B:B,0)),"No match","")

Copy this down as far as necessary to cover your numbers.

Hope this helps.

Pete
 
Back
Top