+ Reply to Thread
Results 1 to 8 of 8

Separate a string of text from a cell

  1. #1
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Separate a string of text from a cell

    Hey guys,

    I am using excel 2010 and needed some help extracting a string of text from a bunch of cells. I already know how to use the mid function but the thing about the text is that it is not the same amount of characters.

    Basically this is what i have:


    AWholeBunchofText/Extract
    SomeMoreText/EvenMore

    The one thing in common the cells have is that the text that I need to extract starts right after the slash. From that scenario I need to pull out "Extract" in the first cell and "EvenMore" for the second.

    Any ideas?
    Last edited by albardit18; 06-03-2011 at 04:19 PM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: How to separate a string of text from a cell

    Try this...

    =MID(A1,FIND("/",A1)+1,LEN(A1))
    HTH
    Regards, Jeff

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to separate a string of text from a cell

    You can also just select the column and go to Data|Text to columns, select Delimited and click Next, select Other and input a / in the box. Click Finish. That should separate the strings into adjacent columns.. no formulas and no macros...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: How to separate a string of text from a cell

    Yes how true, why do I overlook the obvious

  5. #5
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: How to separate a string of text from a cell

    Awesome, Thanks a lot that did wonders :D

  6. #6
    Registered User
    Join Date
    04-21-2011
    Location
    Boston
    MS-Off Ver
    Excel 2010
    Posts
    61

    Re: How to separate a string of text from a cell

    I didn't think of that either lol but I do need it to be part of a formula for a template so minimal manual work has to be done so the formula is perfect thanks

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: How to separate a string of text from a cell

    Quote Originally Posted by jeffreybrown View Post
    Yes how true, why do I overlook the obvious
    If it wasn't you today, it would be me tomorrow

    It's easy to forget... I too go overcomplicated sometimes, oblivious to the obvious....

    edit: Well, there you go... the formula was the way to go here....

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,318

    Re: How to separate a string of text from a cell

    Glad to hear it gets you on your way...

+ 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