+ Reply to Thread
Results 1 to 3 of 3

Removing text from a string if present, otherwise leave as-is

Hybrid View

  1. #1
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Removing text from a string if present, otherwise leave as-is

    Why not just apply Find & Replace ?

    Find What: <*>
    Replace With: leave blank

    (Copy B to A and apply above if needed)

    edit: - if you are adamant you want a formula

    A1: =IF(LEFT(B1)="<",REPLACE(B1,1,FIND(">",B1),""),B1)

    assumes where there's > there's <

  2. #2
    Registered User
    Join Date
    03-19-2009
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2011
    Posts
    37

    Re: Removing text from a string if present, otherwise leave as-is

    This works great!
    Can't believe I didn't think of it...


    edit- the formula works great too!

    Thanks so much!
    Last edited by wace; 08-19-2010 at 09:04 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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