+ Reply to Thread
Results 1 to 6 of 6

Sort Mulple Values alphabetically within a Cell seperated by a comma

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Sort Mulple Values alphabetically within a Cell seperated by a comma

    I have a macro that can sort multiple values in one cell seperated by a comma alphabetically (see attached). The only problem I have with it is if you select multiple cells within a column (or the entire column) it only sorts the first cell and not all cells within the selection. Can the macro be modified to sort all cells that are part of the selection? Thx.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Sort Mulple Values alphabetically within a Cell seperated by a comma

    maybe alter as in red
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    N/A
    MS-Off Ver
    Excel 2010
    Posts
    218

    Re: Sort Mulple Values alphabetically within a Cell seperated by a comma

    Excellent. Thanks kalak..

  4. #4
    Registered User
    Join Date
    05-26-2015
    Location
    Romania
    MS-Off Ver
    2003
    Posts
    4

    Re: Sort Mulple Values alphabetically within a Cell seperated by a comma

    Hi! How do i make it work on any cell in a document? Or every cell in a document for that matter... I have a huge pile of data, double letter columns, 700+ rows. I desperately need this macro to work. Please help!

  5. #5
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Sort Mulple Values alphabetically within a Cell seperated by a comma

    Hi,

    This thread is marked as solved, so probably not many on the forum would look at it further.

    Suggest that you start a new thread, stating your problem and providing some sample data for your problem showing just what you want done with it.

    Posting a sample worksheet is easy enough. Check the FAQ.

    Personally I'm not doing that sort of stuff now, but somebody else may be interested in looking at it.

  6. #6
    Registered User
    Join Date
    05-26-2015
    Location
    Romania
    MS-Off Ver
    2003
    Posts
    4

    Re: Sort Mulple Values alphabetically within a Cell seperated by a comma

    Oh OK! Thx, kalak!

+ 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