Closed Thread
Results 1 to 2 of 2

Sorting Text within a cell

  1. #1
    Registered User
    Join Date
    07-27-2021
    Location
    US
    MS-Off Ver
    MS365
    Posts
    6

    Sorting Text within a cell

    Hi all,

    Does the function to sort text within a cell exist or a work around. Currently my idea is to break them into multiple cells, transpose, sort transpose again, and recombine. I think this is possible but will take much time and resources as I am currently working with at least 30 thousand line. Would appreciate any help on this... even a VBA solution would be great if that is the only possible way!

    Example cell: (within a cell) Orange Apple Banana Pineapple Grape
    Desired result: Apple Banana Grape Orange Pineapple

    background of problem: I need to compare data between two worksheet. However, no common data between the two data set except name is available. The issue is the name format is different (last, middle, first, etc) and inconsistent (some has . and between 2 to 5 names). My solution is to sort the name column in both worksheet to get a common denominator to work with.


    Thanks in advance! Hope every one stays safe in this pandemic times. Cheers

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,798

    Re: Sorting Text within a cell

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-for...in-a-cell.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Sorting Text within a cell
    By Yellow Dinosaur in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 07-27-2021, 04:00 AM
  2. Sorting cell content based on text within text?
    By vendo_23 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-24-2020, 02:28 AM
  3. [SOLVED] Sorting through text in single cell
    By Wikster7 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 01-19-2016, 11:17 AM
  4. sorting text from one cell into 3 other cells based on text criteria
    By steik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-14-2014, 06:35 PM
  5. [SOLVED] Sorting cell that contains TEXT only
    By gulagulaimoet in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-15-2012, 07:02 AM
  6. Excel 2007 : Sorting text within a cell
    By swasinger in forum Excel General
    Replies: 2
    Last Post: 07-02-2010, 01:20 PM
  7. Sorting text within a cell
    By tpink in forum Excel General
    Replies: 7
    Last Post: 10-24-2006, 01:46 PM

Tags for this Thread

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