Data Matching in Excel

sc456a
sc456a used Ask the Experts™
on
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!
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Software Team Lead
Commented:
You can use a combination of functions:  INDIRECT and MATCH (OR VLOOKUP) to do this.

Pls see the attached for example.
28690429.xlsx
Professor JMicrosoft Excel Expert
Top Expert 2014

Commented:
can you upload an example file?

Author

Commented:
Worked perfectly! Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial