+ Reply to Thread
Results 1 to 7 of 7

Consolidate cells with multiple names into a single column with one name per cell

  1. #1
    Registered User
    Join Date
    05-26-2013
    Location
    SA, Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Consolidate cells with multiple names into a single column with one name per cell

    I receive an excel spreadsheet with single column of names: Up to 5000 rows with 1 - 30 names per cell (names are delineated by commas):

    Example
    ----------
    NAME
    betty johnson,bart wong,alissa villa,marlee rodriguez,amy luce,isaac pierce,janet gales,david green,pete davidson
    david green,demetrius washington,alissa villa,mike harris,tom serret
    amy luce,angel cosh,david green,alissa villa
    amy luce,
    ...

    Would like to consolidate into one column, multiple rows, one name per cell, with duplicates deleted:

    Example
    ----------
    alissa villa
    amy luce
    annette sanborn
    barthomele kramer
    betty johnson
    ...
    Last edited by rbtx70; 05-26-2013 at 10:12 AM.

  2. #2
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Consolidate cells with multiple names into a single column with one name per cell

    [Deleted post]

    Misread OP's requirements.
    Last edited by abousetta; 05-26-2013 at 10:20 AM.
    Please consider:

    Thanking those who helped you. Click the star icon in the lower left part of the contributor's post and add Reputation.
    Cleaning up when you're done. Mark your thread [SOLVED] if you received your answer.

  3. #3
    Registered User
    Join Date
    05-26-2013
    Location
    SA, Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Consolidate cells with multiple names into a single column with one name per cell

    A vba macro would be much appreciated

  4. #4
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Consolidate cells with multiple names into a single column with one name per cell

    [Deleted post]

    Sorry misread the original post... back soon.

  5. #5
    Registered User
    Join Date
    05-26-2013
    Location
    SA, Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Consolidate cells with multiple names into a single column with one name per cell

    No you read it correct but my requirements were not clear. I edited the request to clarify requirements (added multiple rows). My apologies.

  6. #6
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Consolidate cells with multiple names into a single column with one name per cell

    The macro will take names from column A, put each name in column B (each name a separate cell), sort then remove duplicates.

    Let me know if this covers your needs.

    abousetta

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-26-2013
    Location
    SA, Texas
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Consolidate cells with multiple names into a single column with one name per cell

    Final question. How do I mark this thread as solved? By the way, thankyou very much. This was much cleaner and quicker than the code I was previously using. Your assistance is very much appreciated.
    Last edited by rbtx70; 05-26-2013 at 11:07 AM.

  8. #8
    Forum Guru
    Join Date
    03-12-2010
    Location
    Canada
    MS-Off Ver
    2010 and 2013
    Posts
    4,418

    Re: Consolidate cells with multiple names into a single column with one name per cell

    Thanks for the feedback. Glad it's all working now.

    To mark the thread as Solved, click on "Thread tools" (at the top of the first post) >> Mark thread as Solved.

    Good luck.

    abousetta

+ 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