+ Reply to Thread
Results 1 to 5 of 5

Delete brackets and their content when including determined word X

  1. #1
    Registered User
    Join Date
    11-12-2018
    Location
    Pavia, Italy
    MS-Off Ver
    MS Office 2016
    Posts
    7

    Question Delete brackets and their content when including determined word X

    My data set, a bilingual glossary, looks like this (one column for word, one column for definition):

    Please Login or Register  to view this content.
    I am trying to get rid of text between brackets containing the word "acronimo" (as well as the brackets themselves) - underlined above ↑ - , while trying not to compromise other useful brackets (in italics in the code above), so that the end result be like this.

    Please Login or Register  to view this content.
    Is there any way to automate this, either using functions or macros?
    Thank you in advance!!

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Delete brackets and their content when including determined word X

    Perhaps in C1 copied down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Delete brackets and their content when including determined word X

    Try this
    Please Login or Register  to view this content.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  4. #4
    Registered User
    Join Date
    11-12-2018
    Location
    Pavia, Italy
    MS-Off Ver
    MS Office 2016
    Posts
    7

    Re: Delete brackets and their content when including determined word X

    I heartfully thank both of you, Richard Buttrey and JLGWhiz!
    Both solutions work perfectly as intented!!
    Thanks again

  5. #5
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: Delete brackets and their content when including determined word X

    Happy to assist,
    Regards, JLG

+ 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. Replies: 11
    Last Post: 04-04-2018, 06:05 AM
  2. coutif with 3 criteria including brackets
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-06-2005, 09:05 AM
  3. coutif with 3 criteria including brackets
    By Ray in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 07:05 AM
  4. [SOLVED] coutif with 3 criteria including brackets
    By Bob Phillips in forum Excel Formulas & Functions
    Replies: 24
    Last Post: 09-06-2005, 05:05 AM
  5. coutif with 3 criteria including brackets
    By Ray in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM
  6. [SOLVED] coutif with 3 criteria including brackets
    By Ray in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] coutif with 3 criteria including brackets
    By Ray in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 PM

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