I am trying to compare two columns in excel, A and B. Column A contains a complete list of customer numbers. Column B contains an incomplete list of the same customer numbers. So if a customer number is in A, but not in B then output that number to column C.
Share
I’d use the
MATCHfunction in combination withISNA.If I have the following table
I put in column ‘A’ the full customer list, and in column B is a random ordered partial list. I then put the function in C1 (and the rest of column C):
=IF(ISNA(MATCH(A1,B:B,0)),A1, "")Now I see the values ‘5’ and ‘6’ only in column C, because those are the only two numbers that don’t appear in column B.