Extraction

M

Martina

Dear Experts,
I have one cell which contains the following string of characters exactly in
this format:

Smith, Jane (jc162964) | 0616025915

Can I use excel to extract the last ten digits and put them into another cell
AND
Can I use excel to extract the Smith, Jane part into another cell?
regards
Martina
 
T

T. Valko

To extract the number:

=MID(A1,FIND("|",A1)+2,255)

To extract the name:

=LEFT(A1,FIND("(",A1)-2)

Biff
 
Top