compare two columns of data

J

Jeanne

I have two columns of data, A & B. Column A has numbers
in it that column B does not. I need to identify what
number are in A that are not in B. I have tried vlookup
but it does not seem to work correctly & also the countif
function. Each column is in sequential order with no
spacing if a number is missing. I do not know what I am
doing wrong and would appreciate any help.
 
T

Trevor Shuttleworth

Jeanne

put the following formula in a cell on row 1 and then drag down to the end
of your list:

=IF(ISNA(VLOOKUP(A1,B:B,1,FALSE)),A1&" not found", "")

Regards

Trevor
 
A

Ashish Mathur

Hi,

Try the following in C5 (aray enter the formula - Ctrl+Shift+Enter):

IF(OR(EXACT(A5,$B$5:$B$8))=TRUE,A5,"")

Hope this helps

Regards,

Ashish Mathur
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top