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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top