Can you tell what the result should be wtr your example string?
Thanks.
Aladin
My objective is to break down the string into six parts:
Part Name:ComponentXYZ
Part #:126578
Company Name:IBM Corporation
Company Number:121501
Company Code: 567
Thanks,
J.R.
Assuming a regular composition of strings and the first string being in A2, the following formulas appear to work:
B2 =MID(A2,1,FIND(" -",A2,1)-1) [ gives Part Name ]
C2 =RIGHT(A2,LEN(A2)-FIND("-",A2,1))
D2 =LEFT(C2,FIND(" -",C2,1)) [ gives Part # ]
E2 =RIGHT(C2,LEN(C2)-FIND("-",C2,1))
F2 =MID(E2,1,FIND(".",E2,1)-1) [ gives Company Name ]
G2 =RIGHT(E2,LEN(E2)-FIND(".",E2,1))
H2 =LEFT(G2,FIND(".",G2,1)-1) [ Company # ]
I2 =RIGHT(G2,LEN(G2)-FIND(".",G2,1)) [ Company Code ]
ps. an example file is underway to you thru e-mail.
Aladin
I think this will work fine. Thanks a lot for your kind help.
J.R.