+ Reply to Thread
Results 1 to 10 of 10

How to extract text strings out of longer text string

  1. #1
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    How to extract text strings out of longer text string

    Hi there. I've got a cell which contains this:
    Please Login or Register  to view this content.
    It's rather long, its total length is 315 characters.
    I need to extract each of the 30 countries included in this single cell, without being so lengthy it's a no brainer..
    Any ideas how?
    Thanks
    Please * if you like the answer

  2. #2
    Registered User
    Join Date
    07-09-2012
    Location
    India
    MS-Off Ver
    Excel 97/2003/2007/2010
    Posts
    67

    Re: How to extract text strings out of longer text string

    hi,

    select the column of the cell and go to the data tap and find the option text to column and click.

    click next and selct the delimiter comma (,) and click next and finish


    you will get alll the location names in seperate cells in a row.

    if you want all the data in column.
    select the all the cell in that row and copy and go to the paste special option and select the transpose and click ok.

    regards,
    sathya

  3. #3
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to extract text strings out of longer text string

    Thanks. Unfortunately it doesn't work. Here is the full list, I need each country to be in a different row..
    Please Login or Register  to view this content.

  4. #4
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to extract text strings out of longer text string

    Then simply do a Paste Special/Transpose on the output after applying the Text to Columns method outlined by sathiyamoorthy, which was mentioned in their post as well if you read it carefully.

    Regards
    Click * below if this answer helped

    Advanced Excel Techniques: http://excelxor.com/

  5. #5
    Registered User
    Join Date
    07-09-2012
    Location
    India
    MS-Off Ver
    Excel 97/2003/2007/2010
    Posts
    67

    Re: How to extract text strings out of longer text string

    it should work.

    telll me where you are stuck exactly...

  6. #6
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to extract text strings out of longer text string

    Could you show me please?, here is the file
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to extract text strings out of longer text string

    **Update - I see, I should have created a lot of break lines, right? If so, is it the most efficient way?

  8. #8
    Registered User
    Join Date
    07-09-2012
    Location
    India
    MS-Off Ver
    Excel 97/2003/2007/2010
    Posts
    67

    Re: How to extract text strings out of longer text string

    hi,

    please see the attachment... you may left the selection in the delimited option in the text to column wizard..

    please click the star simple, if you satisfied with the reply.
    Attached Files Attached Files

  9. #9
    Forum Expert XOR LX's Avatar
    Join Date
    04-18-2013
    Location
    Turin, Italy
    MS-Off Ver
    Office 365
    Posts
    7,742

    Re: How to extract text strings out of longer text string

    You need to choose the Delimited option when you go into Text to Columns.

    Regards

  10. #10
    Forum Contributor
    Join Date
    12-30-2012
    Location
    Israel
    MS-Off Ver
    2007, 2016
    Posts
    642

    Re: How to extract text strings out of longer text string

    Thanks for everything guys, really.
    Last edited by GIS2013; 09-17-2013 at 06:12 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] Extract strings from a longer text string
    By Frostyvegi in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 09-26-2012, 01:44 AM
  2. Replies: 6
    Last Post: 03-08-2012, 10:35 AM
  3. Replies: 5
    Last Post: 05-03-2011, 09:35 AM
  4. Pass text strings longer than 255 characters
    By carry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-22-2011, 12:26 PM
  5. Vlookup name within longer text strings
    By floricita in forum Excel General
    Replies: 7
    Last Post: 08-17-2010, 01:10 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