+ Reply to Thread
Results 1 to 5 of 5

Merge Duplicate Rows

  1. #1
    Registered User
    Join Date
    01-18-2011
    Location
    Tempe
    MS-Off Ver
    Excel 2007
    Posts
    4

    Merge Duplicate Rows

    I have a spreadsheet which contains inventory data from two pre-existing sheets. I need to find the rows where part numbers (column A) are duplicate. Then I need the rows with duplicate part numbers to be merged and retain the data in all columns from both rows. Essentially, I have many rows where cells in duplicate "row 1" are blank, but contain data in duplicate "row 2". In the cases where data exists in particular cells in both rows, it doesn't matter which row's existing data is kept. Naturally, I only want to keep one row from the duplicates. Here's an example of what it looks like:

    Before::
    Row / Part Number / Description / Inventory Type / Vendor / Quantity
    1 / 100111 / Large Sprocket / Machine Part / / 250
    2 / 100111 / Large Sprocket / / ACME Sprockets /

    After::
    Row / Part Number / Description / Inventory Type / Vendor / Quantity
    1 / 100111 / Large Sprocket / Machine Part / ACME Sprockets / 250


    Hope this makes sense.. seems like it should be ridiculously simple. ?? The actual spreadsheet file is attached below.

    Thanks in advance!
    Last edited by mattvcommuter; 02-01-2011 at 02:16 PM. Reason: inaccurate title

  2. #2
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Merge duplicate rows while retaining all cells

    Hi - can you please attach the spreasheet?
    Blake 7

    If your question has been answered, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If any member's response has helped to solve your problem, please consider using the scales icon on the top right of their post to show your appreciation.

    http://failblog.org/

  3. #3
    Registered User
    Join Date
    01-18-2011
    Location
    Tempe
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Merge duplicate rows while retaining all cells

    yes... here's the spreadsheet. Thanks!
    Last edited by mattvcommuter; 02-01-2011 at 02:16 PM.

  4. #4
    Registered User
    Join Date
    01-18-2011
    Location
    Tempe
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Merge duplicate rows while retaining all cells

    my apologies.. this is the correct spreadsheet. Appreciate the help!
    Attached Files Attached Files

  5. #5
    Valued Forum Contributor Blake 7's Avatar
    Join Date
    10-01-2010
    Location
    Bogota, Colombia
    MS-Off Ver
    Excel 2010 64 bit and Excel 2007,
    Posts
    1,377

    Re: Merge duplicate rows while retaining all cells

    Ive had a look at your data - in particular, col A, part number, i have found that some part numbers are not numbers and in some cases are the same values as the description. Can this be right?

    Here are some examples.

    250cc duke blackout oil gauge
    250cc duke blackout oil gauge
    250cc duke blackout pod cup
    250cc duke blackout pod cup
    250cc duke chrome vanity covers
    250cc duke chrome vanity covers
    250cc duke water pump bearing
    250cc duke water pump bearing
    250cc duke water pump gasket
    250cc duke water pump gasket
    250cc duke water pump seal
    250cc duke water pump seal
    250cc duke water pump seal gaske
    DEPOSIT
    DEPOSIT
    Diagnostic
    Dipstick
    Dipstick
    Discount
    Discount
    Hydraulic Brake Shoe - Front
    Hydraulic Brake Shoe - Front
    Industrial Cleaning Solvent Can
    Industrial Cleaning Solvent Can
    OILDYE
    OILDYE
    OIL-IPCITY
    OIL-IPCITY
    OIL-IPRUN
    OIL-IPRUN
    oilline
    oilline
    OIL-MOT710
    OIL-MOT710
    OIL-SYN
    OIL-SYN
    Out of State
    STOBEL TROMBE AIR HORNS
    STOBEL TROMBE AIR HORNS
    STORAGE
    STORAGE
    Storage Rent
    TANK CLASSIC 150
    tank-viaggio rear tire compleat
    tank-viaggio rear tire compleat

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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