Matching two lists of numbers

I have two spreadsheets that have a column with numbers in them.  I want to match the numbers where they are the same.  What is the best way to do this?  I have attached a spreadsheet example where i have shown the two (example) number lists on different tabs.  Thanks.  - Tom
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Donald YatesCommented:
Not sure exactly what you're asking.  If the number in the first column matches the number in the second column, what should happen?

One easy way is to put one set in numerical order, number them in the next column and use vlookup.  =VLOOKUP(C2,'List 1'!C2:D5,2,FALSE)

10      1
20      2
45      3
65      4

23      #N/A
10      #N/A
45      3
67      #N/A
99      #N/A
85      #N/A
Donald YatesCommented:

Should have been =VLOOKUP(C2,'List 1'!$C$2:$D$5,2,FALSE)
tomfarrarAuthor Commented:
Yea, not sure what I am asking either.  Let me clarify...  I have billings and payments on different spreadsheets, and I am trying to match up payments to billing (knowing there can be a payment that could match up with more than one billing, and vise versa.)  I have used the VLOOKUP as you suggested and it provides some help, and maybe that is the best approach.  Was wondering if there were other ways that could work better since this is probably a common problem.
ShumsExcel & VBA ExpertCommented:
You may try something like attached...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tomfarrarAuthor Commented:
Actually both solutions were good.  Thanks to both of you.  - Tom
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.