Comparing Data in Two Excel Spreadsheets

J

JW

I'm using Excel 2002. I have two spreadsheets, each has a column containing
account numbers. I would like to be able to identify any account numbers in
spreadsheet #2 that are also present in spreadsheet #1. I do NOT want to
merge the spreadsheets. Any good way of doing that?

If it's easier, I could also get by creating a third, temporary spreadsheet
that has only the two columns of account numbers, and eliminate any account
numbers in column B that match any account numbers in column A. Any good way
of doing that?

Thanks very much for your help.
 
D

Dave Peterson

You could add a helper column in sheet2 and put a formula like:

=isnumber(match(a1,sheet1!a:a,0))

You'll see TRUE if it exists. False if it's missing.

Adjust sheet names and addresses to match your data.
 
J

JW

Dave - That worked great! Thank you very much.

Dave Peterson said:
You could add a helper column in sheet2 and put a formula like:

=isnumber(match(a1,sheet1!a:a,0))

You'll see TRUE if it exists. False if it's missing.

Adjust sheet names and addresses to match your data.
 

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