Extracting all words that begin with "(" and ending with ")"

Jtwa

New Member
Joined
Oct 31, 2012
Messages
11
SentenceExtracted Words
I want this word (Michael) and this other word (Jordan) extract(Michael) (Jordan)
I want this (Lebron) as well as (Kobe) and finally (Curry)(Lebron) (Kobe) (Curry)
Simple (NBA)(NBA)

<tbody>
</tbody>

I'm not sure how to do something like this. The best i could do was just one 1 word using this
=TRIM(LEFT(SUBSTITUTE(MID(A1,FIND("(",A1),LEN(A1))," ",REPT(" ",200)),200))
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Try:

ABCDE
1SentenceExtracted Words
2I want this word (Michael) and this other word (Jordan) extract(Michael)(Jordan)
3I want this (Lebron) as well as (Kobe) and finally (Curry)(Lebron)(Kobe)(Curry)
4Simple (NBA)(NBA)

<tbody>
</tbody>
Sheet3

Worksheet Formulas
CellFormula
B2=IFERROR(TRIM(LEFT(SUBSTITUTE(MID($A2,FIND("|",SUBSTITUTE($A2,"(","|",COLUMNS($B2:B2))),LEN($A2)),")",")"&REPT(" ",LEN($A2))),LEN($A2))),"")

<tbody>
</tbody>

<tbody>
</tbody>


Put the formula in B2 and drag down and across as needed.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,783
Messages
6,132,680
Members
449,747
Latest member
OldMrsMol

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