Extract AND remove string between ( )

steveaust

New Member
Joined
May 25, 2016
Messages
4
So formula to extract [string] is column C is -
=IFNA(TEXTBEFORE(TEXTAFTER(B5,"["),"]"), "")

and A is same but with ( )

Question - I also want to CUT (delete) the string from column B.

A B C
1713405754703.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I'm not sure if this is what you seek. There are a number of ways to do this.

Book1
ABC
1
2dueTask to do … [name](due)Task to do … [name]()
Sheet1
Cell Formulas
RangeFormula
C2C2=TEXTBEFORE(B2,"(")&"()"
 
Upvote 0
Solution
I'm not sure I fully described the task.

So this is the formula view of the cells -
1713425043062.png


Cell Sheet1!A4 is >
Task to do … [name] (due)

What I want the end-result to look like is >
1713425205016.png


My current end-result is >
So I want cell B to be stripped / deleted of the strings I copied to A & C >
1713425249903.png
 
Upvote 0
Try:
Excel Formula:
=TEXTBEFORE(Sheet1!A4," …")

Also, TEXTBEOFRE/AFTER has a [not found] parameter, so you don't really need the IFNA().
 
Upvote 0

Forum statistics

Threads
1,215,287
Messages
6,124,075
Members
449,140
Latest member
SheetalDixit

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top