+ Reply to Thread
Results 1 to 7 of 7

Combine two lists while matching column values

  1. #1
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Combine two lists while matching column values

    Hello Guys and Gals,

    I've been a silent but heavy user of the knowledge on Excel Forum for a while now but have run aground on this one.

    I have two lists of uncounted inventory (developing a 5 year trend so to speak):

    List 1: 5 columns: 4 columns of product numbers, 1 column of descriptions
    The 4 columns of product numbers differ in filled values but are all aligned with each other at the moment ie A: 111, 111, 111,111 B: 222, (blank), 222, 222

    List 2: 2 columns: 1 column of product numbers, 1 column of descriptions

    List 2 contains more values than list 1. List 2 also contains SOME but not ALL of the values from List 1.

    I need to combine both lists by adding column 2's product numbers, having them match up with the descriptions and product numbers in all the other cells of list 1 while inserting new lines for product numbers that dont exist in List 1 at all.

    I have attached a short example. Any help would be appreciated as going through 42,000 part numbers individually would wreck my ... month!

    My example has 3 sheets included fyi.

    Help(2sheets).xlsx

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Combine two lists while matching column values

    Hi and welcome to the forum,

    This is a job for an Index - Match type of formula. See the attached where I've inserted a column E and a formula. This is a 5 minute job, not a months worth of work.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Combine two lists while matching column values

    Thank you for the quick reply MarvinP but I am a bit lost on the solution you posted.

    In the new column you added I now have part numbers that do not match up with the descriptions or the other part numbers. What I am hoping to get close to is what is on the "Result" sheet.
    Instead I have 3 repeated "battery" part numbers where other values should be and a blank where the actual battery part number should be.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Combine two lists while matching column values

    Hi,

    I guess I need a bigger example file. I simply inserted a column for the new year and did an Index Match to fill in the old table with the new year data. If the description filed is different, you might need to create a new list, or find new descriptions and add them onto the old year's list. Give me a better example file and let me see what the problem is so I can do this problem better.

  5. #5
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Combine two lists while matching column values

    This is an exerpt of 100 lines from both lists of the actual document. (2 sheets)

    Thanks for looking into this MarvinP - I appreciate it. Essentially I need to get the items lined up like they are in the columns of sheet 1. After inventory is complete we will delete the A column and add another in next year. They have been doing this manually for the last 4 years and as you will most likely see there are some errors from last year - as well the list grows yearly.
    Attached Files Attached Files
    Last edited by sephiroth_987; 02-05-2014 at 11:27 AM.

  6. #6
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Combine two lists while matching column values

    ... scratch that last file, 100 entries is not enough. Sending the whole thing. (100 matches up perfectly)
    Attached Files Attached Files
    Last edited by sephiroth_987; 02-05-2014 at 11:28 AM.

  7. #7
    Registered User
    Join Date
    02-05-2014
    Location
    Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Combine two lists while matching column values

    MarvinP,

    I used a vlookup formula and figured it out.

    Thank you!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Matching Lists w/duplicated or missing common values
    By kevsvette in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-14-2012, 01:05 PM
  2. Replies: 5
    Last Post: 04-21-2012, 02:07 AM
  3. Matching columns and outputting lists of corresponding values
    By eila90 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-09-2010, 03:18 AM
  4. Detect matching values in very large lists
    By Jbentley in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-09-2009, 04:08 AM
  5. Combine column- two lists, with unique identifier
    By bchalker in forum Excel General
    Replies: 1
    Last Post: 07-09-2008, 11:14 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1