Get Text Between Two Characters in String

andybason

Board Regular
Joined
Jan 7, 2012
Messages
217
Office Version
  1. 2016
Hi,

I have a string that varies in length and format in cell A10. I want to get the text that is always immediately after ( and before the first space after the bracket.

Eg. Model: 291V : xxx1 (111-999 Ultra HD, 111-888 QSpec)

Here I would like the text 111-999.

Can this be done?

Thanks
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
How about
Excel Formula:
=MID(A10,FIND("(",A10)+1,FIND(" ",A10,FIND("(",A10))-FIND("(",A10)-1)
 
Upvote 0
Solution
Here is one way:
Excel Formula:
=TRIM(LEFT(SUBSTITUTE(MID(A10,FIND("(",A10)+1,LEN(A10))," ",REPT(" ",100)),100))
 
Upvote 0
Office 365:
=LET(a,MID(A10,1+FIND("(",A10),99),LEFT(a,FIND(" ",a)-1))
1622209002982.png
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,959
Messages
6,122,476
Members
449,087
Latest member
RExcelSearch

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