+ Reply to Thread
Results 1 to 4 of 4

pull out text between 2 symbols in a string within a cell

  1. #1
    Registered User
    Join Date
    06-17-2008
    MS-Off Ver
    Excel 2003
    Posts
    30

    pull out text between 2 symbols in a string within a cell

    I have a column of cells that contain a long string of characters....I need to pull out text from this string and put it in subsequent columns. The symbol I am concerned with is >> For example.

    If this string is in the first cell in column A:
    >>abcd>>defgh>>ijkl

    I would want a formula to return abcd in column b, defgh in column C, and ijkl in column d

    >>this is a test>>make it work

    in this example I would want "this is a test" returned in column B, and "make it work" ruturned in column C

    >>frustrating

    In this example, I would want "frustrating" returned in column B


    any ideas?

    Thanks in advance!
    Last edited by jasonanthony; 02-02-2009 at 06:18 PM. Reason: Solved

  2. #2
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717

    Re: pull out text between 2 symbols in a string within a cell

    Hi..

    Select the entire column containing this text...

    Click on Data --> Text to column

    Select Delimited Radio button

    Click on next...

    Check other and in small box type >> Click on Finish

  3. #3
    Registered User
    Join Date
    06-17-2008
    MS-Off Ver
    Excel 2003
    Posts
    30

    Thumbs up Re: pull out text between 2 symbols in a string within a cell

    thanks Shijesh - this did the trick

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: pull out text between 2 symbols in a string within a cell

    You need to also check the option to [x] Treat consecutive delimiters as one on the Step 2 of Text To Columns wizard.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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