+ Reply to Thread
Results 1 to 9 of 9

Formula to remove a string and parenthesis in excel

Hybrid View

rkulasekaran Formula to remove a string... 12-06-2015, 09:12 AM
Pete_UK Re: Formula to remove a... 12-06-2015, 09:16 AM
rkulasekaran Re: Formula to remove a... 12-06-2015, 09:24 AM
Pete_UK Re: Formula to remove a... 12-06-2015, 09:37 AM
rkulasekaran Re: Formula to remove a... 12-07-2015, 12:34 AM
Pete_UK Re: Formula to remove a... 12-07-2015, 05:55 AM
rkulasekaran Re: Formula to remove a... 12-07-2015, 06:31 AM
rkulasekaran Re: Formula to remove a... 12-08-2015, 06:08 AM
Pete_UK Re: Formula to remove a... 12-08-2015, 06:39 AM
  1. #1
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Formula to remove a string and parenthesis in excel

    Hello All,

    I need to remove a particular string from the cells ina column "bpar()" and paste the other contents in the new column. Kindly do find the sample excel file.
    Thanks in advance for your help.
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Formula to remove a string and parenthesis in excel

    Put this formula in C3:

    =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A3,"bpar",""),"(",""),")","")

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Re: Formula to remove a string and parenthesis in excel

    Thanks pete for your reply. It works fine.

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Formula to remove a string and parenthesis in excel

    Glad to help - thanks for the rep.

    If that takes care of your original question, please select Thread Tools from the menu above your first post and mark this thread as SOLVED.

    Pete

  5. #5
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Re: Formula to remove a string and parenthesis in excel

    Hello ,
    Still I need to extract few more details, please do find the attached file. Kindly do hep me out.
    Attached Files Attached Files

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Formula to remove a string and parenthesis in excel

    Put this formula in C3:

    =IF(ISNUMBER(FIND("==",A3)),LEFT(A3,FIND("==",A3)-1),A3)

    and this one in D3:

    =IF(C3=A3,"",MID(SUBSTITUTE(A3,C3,""),6,LEN(SUBSTITUTE(A3,C3,""))-8))

    then copy down.

    Hope this helps.

    Pete

  7. #7
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Re: Formula to remove a string and parenthesis in excel

    Thanks, once again for your reply.

  8. #8
    Registered User
    Join Date
    06-10-2015
    Location
    Bengaluru, India
    MS-Off Ver
    2007
    Posts
    21

    Re: Formula to remove a string and parenthesis in excel

    Hello Pete,
    I need a macro to extract few values from a column (i.e) Please find the attached. Here in the file whichever is within "par(xxxx)" and "bpar(xxxx)" must be copied and paste the values into the new columns based on occurrences. kindly please do help me out. Thanks in advance for your reply.
    Attached Files Attached Files

  9. #9
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,412

    Re: Formula to remove a string and parenthesis in excel

    You started out asking for a formula, and I gave you one and the thread was marked solved.

    Then you came back with a different problem, which I solved for you.

    Now you are asking for something different again.

    I think you should start a new thread, rather than keep adding new variations to this one (see Forum Rules).

    Pete

+ 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] Remove nos not inside parenthesis
    By long8484 in forum Excel General
    Replies: 3
    Last Post: 05-13-2015, 09:19 AM
  2. Replies: 9
    Last Post: 05-28-2014, 04:14 PM
  3. [SOLVED] Remove spaces before and after parenthesis and hash
    By abraham30 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-01-2013, 10:32 AM
  4. remove value inside parenthesis visual basic
    By paynod in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-13-2012, 08:24 AM
  5. remove data in parenthesis
    By HuskerBronco in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-24-2008, 03:48 PM
  6. formula to remove text at end of string???
    By richardeallen in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-20-2008, 04:46 AM
  7. formula for parenthesis round negative money values in excel
    By jeff in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-14-2006, 02:45 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