Hi,
See how this works out for your data.
B1 formula extracts the number immediately before "LS" as is, result as Text,
C1 formula converts same result to Number in case for further math/comparison:
| A | B | C |
---|
W/.5LWOP/2.75LS | | | |
N 2.5 LS 1.75 LC | | | |
N 5LS | | | |
N 4@99 1.5LC 2LS 2LU | | | |
N 2.5 LS 1.75 LC | | | |
W/2.75LS.5LWOP | | | |
<colgroup><col style="width: 25pxpx"><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]
[TD="align: right"]2.75[/TD]
[TD="align: right"]2.75[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: right"]2.5[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]2.75[/TD]
[TD="align: right"]2.75[/TD]
</tbody>
Sheet436
[TABLE="width: 85%"]
<tbody>[TR]
[TD]
Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]B1[/TH]
[TD="align: left"]=TRIM(
LEFT(RIGHT(SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(LEFT(A1,FIND("LS",A1)),"L"," L"),"/"," "))," ",REPT(" ",100)),200),100))[/TD]
[/TR]
[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]C1[/TH]
[TD="align: left"]=LEFT(
RIGHT(SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(LEFT(A1,FIND("LS",A1)),"L"," L"),"/"," "))," ",REPT(" ",100)),200),100)+0[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]