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

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
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,215,059
Messages
6,122,916
Members
449,093
Latest member
dbomb1414

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