+ Reply to Thread
Results 1 to 5 of 5

How Can I Remove Everything to the Left of...

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-29-2009
    Location
    Chattanooga, TN
    MS-Off Ver
    2021
    Posts
    205

    How Can I Remove Everything to the Left of...

    I need a formula that can remove all characters to the right of "]"

    for example, if a1 = abcdefg]1234, I want b1 to return the value: 1234

    I tried =RIGHT(a1,FIND("]",a1)-1), but that didn't really work. It returned: fg]1234
    Last edited by Ocean Zhang; 09-22-2009 at 08:44 AM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How Can I Remove Everything to the Left of...

    You quit trying too soon.

    =RIGHT(A1, FIND("]", A1) + 1, 1024)
    Entia non sunt multiplicanda sine necessitate

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

    Re: How Can I Remove Everything to the Left of...

    shg, did you mean to use MID ?

    other alternatives might be:

    =RIGHT(A1,LEN(A1)-FIND("]",A1))

    or

    =REPLACE(A1,1,FIND("]",A1),"")

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

    Re: How Can I Remove Everything to the Left of...

    One more method..


    Select the column..
    Click on Data--> Text to column

    Select Delimited radio button.

    In others type ]

    Click on OK...

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: How Can I Remove Everything to the Left of...

    shg, did you mean to use MID ?
    I did, thank you, DO

+ 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