Extracting a string of letters from a cell?

naumannerika05

New Member
Joined
Mar 30, 2011
Messages
2
I am trying to extract a string of alpha/numeric characters. The string always begins with a "L", but the subsequent characters could be various lengths. For instance, A104LCRTI1 would be the cell and I would want to extract the "LCRTI1". I tried the function =right(cell,6), but the problem is that the number of characters after "L" could vary with each cell. Does anyone know how to extract the string of characters beginning with the "L" that have varying character lengths after the "L" and return the string starting with the "L"? I am working with a 49,000 line spreadsheet so some assistance would be appreciated. Thanks!
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Maybe?
Excel Workbook
BC
2A104LCRTI1LCRTI1
Sheet1
Excel 2003
Cell Formulas
RangeFormula
C2=MID(B2,FIND("L",B2),255)
 
Upvote 0
Hello, Welcome to MrExcel.

Try this;

=MID(A1,FIND("L",A1),250)

** FIND function is case sensitive, replace with SEARCH, if you need incase sensitive.
 
Upvote 0

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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