+ Reply to Thread
Results 1 to 7 of 7

Please help to remove numbers in brackets - abc (123)

  1. #1
    Registered User
    Join Date
    01-05-2011
    Location
    Western Australia
    MS-Off Ver
    Excel 2010
    Posts
    7

    Please help to remove numbers in brackets - abc (123)

    Hi guys

    I have some text (1000's of lines) that have some numbers after the text displayed in brackets, for example

    Orange Box (36982)
    Yellow Ball (4876)
    Red (214)
    Green Top Hat (94)
    Blue Sky (1)

    What I need is a formula to remove the brackets and numbers within them, plus also the space before the ( bracket. So the result should only be the text itself, i.e.

    Orange Box
    Yellow Ball
    Red
    Green Top Hat
    Blue Sky

    Does anyone know how I can achieve this via a formula please.

    Thanks

    GW
    --
    If you don't ask......

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Please help to remove numbers in brackets - abc (123)

    hi GW, try:
    =REPLACE(A1,FIND(" (",A1),255,"")

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

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

    Re: Please help to remove numbers in brackets - abc (123)

    Another way...

    =LEFT(A1,FIND("(",A1)-2)
    HTH
    Regards, Jeff

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Please help to remove numbers in brackets - abc (123)

    if its just a once-off, use find and replace...find ( replace with "". repeat for )
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    01-05-2011
    Location
    Western Australia
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Please help to remove numbers in brackets - abc (123)

    Thanks guys for your solutions, all working perfect thanks

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Please help to remove numbers in brackets - abc (123)

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below)

  7. #7
    Registered User
    Join Date
    05-13-2013
    Location
    bangalore, india
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Please help to remove numbers in brackets - abc (123)

    tried the same and it gives me a "CIRCULAR REFERENCE WARNING" and once i click OK the value becomes ZERO "0". Also please suggest how i can apply this formula for a complete coloumn rather than going field by field.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Please help to remove numbers in brackets - abc (123)

    ambharat...Welcome to the Forum.

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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