+ Reply to Thread
Results 1 to 6 of 6

Putting text in one cell in alpabetical order

  1. #1
    Registered User
    Join Date
    03-06-2018
    Location
    South Carolina
    MS-Off Ver
    2016
    Posts
    3

    Putting text in one cell in alpabetical order

    This has been driving me crazy. I am working on a pretty large spreadsheet that deals with survey responses from our organizations in different states, with simple yes and no answers. In the last column, we have a list of every state that responded with YES, and the list is comma delimited. The only problem is that list needs to be in alphabetical order, and it is a list of 39 states, that varies from cell to cell, for 250 cells. It will take me forever to do this manually. I have heard of a macro that might be able to sort text alphabetically within a cell, does anyone have any suggestions that could help me out? Much appreciated!!!!

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Putting text in one cell in alpabetical order

    Hello
    Welcome to the forum
    It is better to upload sample of your workbook with some of the expected output so as to find better help
    Regards
    < ----- Please click the little star * next to add reputation if my post helps you
    Visit Forum : From Here

  3. #3
    Registered User
    Join Date
    03-06-2018
    Location
    South Carolina
    MS-Off Ver
    2016
    Posts
    3

    Re: Putting text in one cell in alpabetical order

    Thanks! I attached the workbook to this post. It is the last column that I am needing to sort alphabetically, the one with the list of states.

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Putting text in one cell in alpabetical order

    I can't post the code directly (Access denied)

    Generally try this code in the text file
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-06-2018
    Location
    South Carolina
    MS-Off Ver
    2016
    Posts
    3

    Re: Putting text in one cell in alpabetical order

    That worked! Your are the best!!!!

  6. #6
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,882

    Re: Putting text in one cell in alpabetical order

    You're welcome. Glad I can offer some help

    Don't forget to mark the thread as solved

+ 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. Putting values in a cell in reversed order
    By buhaj47 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-27-2014, 09:30 AM
  2. Putting things in order
    By Djceney in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-23-2013, 05:23 PM
  3. putting dates in order
    By union in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-22-2013, 08:17 AM
  4. Replies: 6
    Last Post: 11-07-2012, 09:26 PM
  5. Replies: 1
    Last Post: 02-14-2012, 05:45 PM
  6. Putting a list in order
    By edwedw in forum Excel General
    Replies: 3
    Last Post: 08-14-2009, 09:54 AM
  7. Putting Text in a referenced Cell
    By SpikeLumens in forum Excel General
    Replies: 13
    Last Post: 07-14-2008, 02:47 PM

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