Extracting Words from a cell

koreyjames

New Member
Joined
Jul 23, 2012
Messages
44
Hey guys,

Really quick and easy one but for the life of me I cannot get it work.

I need to extract the names from the 'T' at the start of TBBC to the first space at the end before the Employee number.

TL-TBBCCABBILL C123456
TL-TBBCCARCPE C123456
TL-TBBCCABCPE D123456
TL-TBBCCABCPE D123456

<tbody>
</tbody>

<tbody>
</tbody>

<tbody>
</tbody>

<tbody>
</tbody>

I am using =MID(Z9,FIND("-",Z9,FIND(" ",Z9)+1)+1,2) but it continues to return an error.

Anyone able to give me a quick hand in solving this one?

Thanks!
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Like this maybe


Excel 2010
AB
1TL-TBBCCABBILL C123456TBBCCABBILL
2TL-TBBCCARCPE C123456TBBCCARCPE
3TL-TBBCCABCPE D123456TBBCCABCPE
4TL-TBBCCABCPE D123456TBBCCABCPE
Sheet4
Cell Formulas
RangeFormula
B1=MID(A1,FIND("-",A1)+1,FIND(" ",A1)-FIND("-",A1)-1)
 
Upvote 0
Left(a1,find(" ",trim(mid(substitute(a1,"-",rept(" ",99)),100,99)),1)-1)
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,557
Members
449,088
Latest member
davidcom

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