Hi,
I would like to request for help about replacing of a text based on the last open and close parenthesis of a text string.
replace text.PNG
Please let me know if this is possible
Hi,
I would like to request for help about replacing of a text based on the last open and close parenthesis of a text string.
replace text.PNG
Please let me know if this is possible
There are instructions at the top of the page explaining how to attach your sample workbook.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Apologies. Attached is the sample workbook for reference.
Try this:
=SUBSTITUTE(SUBSTITUTE(A2,TRIM(RIGHT(SUBSTITUTE(A2," (",REPT(" ",99)),98)),B2),"((","(")
Last edited by AliGW; 08-26-2021 at 03:31 AM. Reason: Correction
If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.
Also, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.
Thank you for the formula you provided. It works!
Glad to help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks