+ Reply to Thread
Results 1 to 5 of 5

Single product with multiple variations in multiple rows need to consolidate to single row

  1. #1
    Registered User
    Join Date
    03-20-2013
    Location
    united states
    MS-Off Ver
    2013
    Posts
    2

    Single product with multiple variations in multiple rows need to consolidate to single row

    Hi

    I have 1100+ products but due to the spread sheet listing each product variation as a separate row there are 120,000+ rows. I need to run a quick Macro that takes the style # or product name and compares all the other columns and deletes any duplicate values leaving all unique values separated with "|" (no space necessary).

    Attached is a sample... with the demonstrated result on sheet two.

    Sample Data.xlsx

    Thank you for your help in advance!

  2. #2
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,523

    Re: Single product with multiple variations in multiple rows need to consolidate to single

    Hi 65monroe,

    Welcome to the forum!!

    As you're using at least Excel 2007 (or later), you don't need a macro as the capability to do this exists in those versions. To do this, follow these four steps:

    1. Select the entire dataset (A1:P33 in your posted example)
    2. From the Data Tools tab within the Data ribbon click Remove Duplicates
    3. Click the Unselect All button from the Remove Duplicates dialog and then click the Style# option
    4. Click OK

    Regards,

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

  3. #3
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591

    Re: Single product with multiple variations in multiple rows need to consolidate to single

    Hi

    Here goes

    Please Login or Register  to view this content.
    rylo

  4. #4
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: Single product with multiple variations in multiple rows need to consolidate to single

    as an option
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-20-2013
    Location
    united states
    MS-Off Ver
    2013
    Posts
    2

    Re: Single product with multiple variations in multiple rows need to consolidate to single

    Thank you Both!

    Nilem & Rylo both solutions accomplished the final goal. I really appreciate your help!

+ 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