Hello,
I’m looking for a way to extract the data after the first space in a string to after the first set of numbers (always 8 digits). The formula I’m using is not accurate since the number of words that appears between the first space to the first set of numbers changes.
Any help is appreciated
Excel 2010
I’m looking for a way to extract the data after the first space in a string to after the first set of numbers (always 8 digits). The formula I’m using is not accurate since the number of words that appears between the first space to the first set of numbers changes.
Any help is appreciated
Excel Workbook | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Desired results | ||||
2 | 277 xxx spzrtmhk companies 12345678 231516990 2475.06 3199.57 23.19 street 1 739.00 | xxx spzrtmhk companies12345678 231516990 | xxx spzrtmhk companies 12345678 | ||
3 | 1528 dts powertrain comp inc 15981808 231516989 43.55 84.40 48.40 5.00 | dts powertrain compinc 15981808 | dts powertrain compinc 15981808 | ||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2 | =TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",99)),2*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",99)),3*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",99)),4*99-98,99))&TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",99)),5*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A2," ",REPT(" ",99)),6*99-98,99)) | |
B3 | =TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",99)),2*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",99)),3*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",99)),4*99-98,99))&TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",99)),5*99-98,99))&" "&TRIM(MID(SUBSTITUTE(A3," ",REPT(" ",99)),6*99-98,99)) |