1 2
| =IF(LEN(IF(LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))>6,RIGHT(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)),LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))-FIND("-",MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))),MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2))))-LEN(SUBSTITUTE(IF(LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))>6,RIGHT(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)),LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))-FIND("-",MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))),MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2))),"-",""))>0,TRIM(RIGHT(SUBSTITUTE(IF(LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))>6,RIGHT(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)),LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))-FIND("-",MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))),MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2))),"-",REPT(" ",99)),99)),IF(LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))>6,RIGHT(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)),LEN(MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))-FIND("-",MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2)))),MID(LEFT(A2,FIND("RPM",A2)-1),FIND("-",A2)+1,LEN(A2))))
|