Data Matching in Excel

I have two sets of data that I need to match up. Each set has a common denominator, but there aren't an equal number of records so I can't just sort the columns by those numbers to match them up.

For example, I've got one set like this:

data,111222
data4,223333

and another like this:

data2,111222
data5,223333

I just want a result that looks like the following, matched by the common number:

data,data2
data4,data5

Is there a way to make Excel match two sets of data based on numbers in columns that match and then output required data in the format listed above? Thanks!
LVL 1
sc456aAsked:
Who is Participating?
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.

Ryan ChongCommented:
You can use a combination of functions:  INDIRECT and MATCH (OR VLOOKUP) to do this.

Pls see the attached for example.
28690429.xlsx
0

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
ProfessorJimJamCommented:
can you upload an example file?
0
sc456aAuthor Commented:
Worked perfectly! Thanks!
0
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
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.