+ Reply to Thread
Results 1 to 5 of 5

Remove Part of String

  1. #1
    Registered User
    Join Date
    11-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Remove Part of String

    Hi,

    I have a string such as ThisIsMy/String. How do I remove all of the text on the left of the "/", so the cell displays only the text after the "/"?

    In other words, how do I truncate ThisIsMy/String to String? For all rows in my spreadsheet.

    Thanks.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Remove Part of String

    depends,do you want to keep the original? if not use find replace
    find */ replace with nothing (of course you could just copy to another column and use fine replace on that)
    or if string in say a1 in b1 put =MID(A1,FIND("/",A1)+1,255)
    Last edited by martindwilson; 11-12-2012 at 12:34 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,239

    Re: Remove Part of String

    Are you after a formula or code?

  4. #4
    Registered User
    Join Date
    11-12-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Remove Part of String

    I used a formula containing the MID function as suggested. It worked just as needed.

    Thanks for your help!

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Remove Part of String

    Just to add another way ...
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

+ 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