+ Reply to Thread
Results 1 to 5 of 5

How to extract words from a text string separated by comma

  1. #1
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    How to extract words from a text string separated by comma

    Hi Masters,

    I have more than 10 k text sting like "Chemistry, Hindi Rachna, Physics, Math,". I want to extract the records in other column separated by comma ",".

    Sample file is attached for your review and help pls.

    Please help me out from this thru formula only.

    Thanks/regards,
    Ankur *
    Attached Files Attached Files

  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
    81,162

    Re: How to extract words from a text string separated by comma

    Is there a reason why you can't use the Text to Columns feature, which is designed to do this without a formula?
    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.

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,245

    Re: How to extract words from a text string separated by comma

    If you want to use a formula (but as advised Text-To-Columns meets your needs)

    Try

    =TRIM(MID(SUBSTITUTE($A7,",",REPT(" ",50)),(COLUMNS($A:A)-1)*50+1,50))

  4. #4
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to extract words from a text string separated by comma

    Yup I can do it thru Text to Column by separation comma but I need to do this act every 5 min and It become hard to do this time to time. If any formula help me out from it, much time I can save and there will be no need to do such a rotation work for it. I just need to paste the data into my spreadsheet and formula will automatically convert them according to my need.

    Thanks!!!
    Ankur

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: How to extract words from a text string separated by comma

    @John it worked thanks for solution.
    Last edited by shukla.ankur281190; 12-22-2015 at 04:18 AM.

+ 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. [SOLVED] Dynamic COUNTIF function looking for text value in comma-separated string
    By thewhawk in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-27-2017, 06:29 PM
  2. Extract Value Separated by Comma
    By bluesora in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-19-2015, 11:15 AM
  3. [SOLVED] extract text from semicolon separated string
    By sharathnarayanan in forum Excel General
    Replies: 5
    Last Post: 08-12-2013, 08:53 AM
  4. [SOLVED] Formula to Extract Phrase in Cell to Comma Separated Text
    By ghoneim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-04-2013, 09:44 AM
  5. Extract postcode after last comma in text string
    By TheRobsterUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-15-2013, 09:35 AM
  6. Replies: 5
    Last Post: 02-05-2012, 04:44 PM
  7. [SOLVED] MSExcel--words in a cell separated by comma need to be moved into.
    By Gary in Alaska in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-08-2005, 05:06 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