I have a string of alpha-numeric text that is in one cell of Excel, using v2016. the text is similar to:
ECN 6120 012 MMR 12195 201481
I have u
You could use a UDF to do this.
In VBE, create a new module and drop this code in:
Function strtok(strIn As String, strDelim As String, intToken As Integer) As String
strtok = Split(strIn, strDelim)(intToken - 1)
End Function
You can use this on your sheet then by using formula:
=strtok(A1, " ", 4)
To get the 4th word in that cell.
With data in A1, in B1 enter:
=TRIM(MID(SUBSTITUTE($A1," ",REPT(" ",999)),COLUMNS($A:A)*999-998,999))
and copy across: