Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1808278
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:14:31+00:00 2026-05-17T06:14:31+00:00

My sheet already has data. Unfortunately, later I realized that all the values in

  • 0

My sheet already has data. Unfortunately, later I realized that all the values in column E should be validated and changed as necessary by calling my own user-defined function and passing the values as the function parameter. For example, say I have the following data in column E:

E1: "This is a text in (E1)"
E2: "This is a text in (E2)"
...
E7000: "This is a text in (E7000)"

Now, I want every value in column E to be changed by a formula like this:

E1: = RemoveBrackets("This is a text in (E1)")
E2: = RemoveBrackets("This is a text in (E2)")
...
E7000: = RemoveBrackets("This is a text in (E7000)")

Supposing Excel supports Regex, my problem can be solved easily. but unfortunately Excel doesn’t. Could someone propose possible solutions to my problem?

Thanks in advance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:14:31+00:00Added an answer on May 17, 2026 at 6:14 am

    1) Insert a new column “F”

    2) Copy column E into F

    3) Write in E1

     =RemoveBrackets(F1)
    

    4) Drag the E1 value through E7000

    5) Hide column F.

    Edit 1

    You can do it with several passes of the Find/Replace feature:

    Select the Column E before each PASS.

    PASS 1

    Find:              <"This is a text in>
    Replace with:      <RemoveBrackets("This is a text in>
    

    PASS 2

    Find:              <)">
    Replace with:      <)")>
    

    PASS 3

    Find:              <RemoveBrackets(>
    Replace with:      <=RemoveBrackets(>
    

    Edit 2

    VB Regex substitute string function can be used from Excel.
    You may dowload a toolpack such as Morefunc which supports a REGEX.SUBSTITUTE udf, or you could do your own udf using THIS as guideline.

    I am posting here the code from the second reference, just for link independence:

    Public Function SearchNReplace1(Pattern1 As String, _
      Pattern2 As String, Replacestring As String, _
      TestString As String)
        Dim reg As New RegExp
        reg.IgnoreCase = True
        reg.MultiLine = False
        reg.Pattern = Pattern1
        If reg.Test(TestString) Then
            reg.Pattern = Pattern2
            SearchNReplace1 = reg.Replace(TestString, ReplaceString)
        Else
            SearchNReplace1 = TestString
       End If
    End Function  
    

    Please read the full article, as you should turn on the Microsoft VBScript Regular Expressions 5.5 option in Excel first.

    HTH

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My record sheet app has a menu option for creating a new, blank record
I have an excel sheet full of times. They are formatted so that they
I'd like to select all cells (except the first one) from column A of
I am currently writing an utility that takes two different sets of data from
Alright, I have a column named id which has 2000 ids in them, and
I'm currently working with MS SQL 2005, and have a table that has 17
I have a one sheet with a column which ranges from C2 till C6115.
So I've got this Excel sheet of employees which have all the information about
I have got some excel sheet and want to fill fields automaticly with data.
I have a excel sheet with 7 fields. I want to remove/filter all the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.