+ Reply to Thread
Results 1 to 7 of 7

Formula to remove certain character in a bracket

  1. #1
    Registered User
    Join Date
    11-22-2012
    Location
    singapore
    MS-Off Ver
    2003, 365
    Posts
    50

    Formula to remove certain character in a bracket

    hi all,

    is there a way to remove certain character from below?
    i have thousand of lines need to remove as long as it is in bracket "(xxxx)"

    sample
    HTML Code: 
    result
    HTML Code: 
    i think this only involve some formulas without writing any Macro for it.
    expert please help.
    thanks.

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula to remove certain character in a bracket

    Highlight the cells you need this change made in.
    Press Ctrl+H to bring up the find and replace box.
    In the top box enter (*)
    Leave the bottom box blank and click "Replace All".

  3. #3
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Formula to remove certain character in a bracket

    assuming your data is in A1


    try this in b1
    =REPLACE(REPLACE(A1,FIND("(",A1),FIND(")",A1)+1-FIND("(",A1),""),FIND("(",REPLACE(A1,FIND("(",A1),FIND(")",A1)+1-FIND("(",A1),"")),FIND(")",REPLACE(A1,FIND("(",A1),FIND(")",A1)+1-FIND("(",A1),""))+1-FIND("(",REPLACE(A1,FIND("(",A1),FIND(")",A1)+1-FIND("(",A1),"")),"")
    Attached Files Attached Files
    Last edited by hemesh; 02-17-2014 at 04:58 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  4. #4
    Valued Forum Contributor xlbiznes's Avatar
    Join Date
    02-22-2013
    Location
    Bahrain
    MS-Off Ver
    Excel 2007
    Posts
    1,223

    Re: Formula to remove certain character in a bracket

    try something like this :


    Please Login or Register  to view this content.
    Happy Computing ,

    Xlbiznes.

    To show your appreciation please click *

  5. #5
    Registered User
    Join Date
    11-22-2012
    Location
    singapore
    MS-Off Ver
    2003, 365
    Posts
    50

    Re: Formula to remove certain character in a bracket

    thanks a lot ! BadlySpelledBuoy
    it is so so easy to replace all like this.

  6. #6
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula to remove certain character in a bracket

    No problem. Sometimes the simplest solution just works.

    BSB.

  7. #7
    Forum Expert millz's Avatar
    Join Date
    08-14-2013
    Location
    Singapore
    MS-Off Ver
    Excel, Access 2016
    Posts
    1,694

    Re: Formula to remove certain character in a bracket

    I don't know how to do it with a formula, but this can be converted into a UDF.

    Select the cells you need to remove the brackets and run this macro.
    Please Login or Register  to view this content.
    Edit: oh well, too, too slow.
    多么想要告诉你 我好喜欢你

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Formula to remove first two character is second character is a number.
    By herbie226 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-20-2013, 02:59 PM
  2. [SOLVED] Formula to Remove character
    By jewellove in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-22-2013, 03:28 PM
  3. Formula to remove Character
    By manian in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-11-2013, 09:51 AM
  4. Replies: 3
    Last Post: 11-20-2012, 10:03 PM
  5. Remove String Within the Bracket and also the Bracket
    By seanyeap in forum Excel General
    Replies: 6
    Last Post: 04-23-2010, 10:24 AM

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