+ Reply to Thread
Results 1 to 7 of 7

Sorting cell content based on text within text?

  1. #1
    Registered User
    Join Date
    11-18-2020
    Location
    USA
    MS-Off Ver
    Office 365 MSO (16.0.13231.20110) 32bit
    Posts
    4

    Sorting cell content based on text within text?

    Hi, I've created an example spreadsheet of what I'm looking to do.

    I need the contents of Column A to be sorted (Example output, Column C), based on the input text contained within Column B.

    I am still pretty new to excel and haven't been able to figure this out. I've tried XLOOKUP, but that doesn't seem to do what I need here.


    Column B contains a string of text that exists in each cell on Column A. "dll" exists in A3, for example. What I want is to basically sort A2, A3, and A4 using B2, B3 and B4 as a guide. This would be output as seen on Column C.



    Hopefully this is possible, thank you for any help you can provide!

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,659

    Re: Sorting cell content based on text within text?

    In your real file, how many criterias do you have (maximum), or only 3?
    How many rows of data are there ?
    Quang PT

  3. #3
    Registered User
    Join Date
    11-18-2020
    Location
    USA
    MS-Off Ver
    Office 365 MSO (16.0.13231.20110) 32bit
    Posts
    4

    Re: Sorting cell content based on text within text?

    Quote Originally Posted by bebo021999 View Post
    In your real file, how many criterias do you have (maximum), or only 3?
    How many rows of data are there ?
    Only the three criteria. I might make more rows of this once I see how the function works, but all I need for now is what is presented in the example. Thanks
    Last edited by vendo_23; 11-18-2020 at 06:17 AM.

  4. #4
    Registered User
    Join Date
    11-18-2020
    Location
    USA
    MS-Off Ver
    Office 365 MSO (16.0.13231.20110) 32bit
    Posts
    4

    Re: Sorting cell content based on text within text?

    Nobody?

  5. #5
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,659

    Re: Sorting cell content based on text within text?

    I offer a helper-solution in column A
    Insert column A, then in A2
    Please Login or Register  to view this content.
    Choose both column A&B, then sort Z-A base on column A
    If there were more than 1 case of same criteria and want to sort within them, try to combine with column B
    Example in A10
    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Sorting cell content based on text within text?

    Content deleted.
    Last edited by kvsrinivasamurthy; 11-20-2020 at 09:54 AM.
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  7. #7
    Registered User
    Join Date
    11-18-2020
    Location
    USA
    MS-Off Ver
    Office 365 MSO (16.0.13231.20110) 32bit
    Posts
    4

    Re: Sorting cell content based on text within text?

    bebo021999 -

    These are great!! I think I can make this work for me. Thank you!!

+ 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. Cell Value Based On Multiple Text Content
    By sultanmimar in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-03-2019, 03:06 AM
  2. [SOLVED] VLOOKUP to return specific text based on content of other cell
    By bundyanimal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-14-2018, 01:18 AM
  3. [SOLVED] remove cell content based on another cells text
    By toneNFFC in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-20-2015, 10:13 AM
  4. [SOLVED] remove cell content based on another cells text
    By toneNFFC in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-13-2015, 08:02 AM
  5. How do you make a text box appear/disappear based on cell content?
    By gmac1985 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-02-2015, 12:06 AM
  6. 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
  7. Changing the text on button based on cell content
    By a94andwi in forum Excel General
    Replies: 1
    Last Post: 06-11-2009, 12:58 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