#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Extraction

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Extraction

To extract the number:

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

To extract the name:

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

Biff

"Martina" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Extraction

To extract the number:
=MID(A1,FIND("|",A1)+2,255)


Or, if the number is *always* 10 digits long:

=RIGHT(A1,10)

Biff

"T. Valko" wrote in message
...
To extract the number:

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

To extract the name:

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

Biff

"Martina" wrote in message
...
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





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Extraction

That is fantastic, thank you so much!!
regards
Martina

"T. Valko" wrote:

To extract the number:
=MID(A1,FIND("|",A1)+2,255)


Or, if the number is *always* 10 digits long:

=RIGHT(A1,10)

Biff

"T. Valko" wrote in message
...
To extract the number:

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

To extract the name:

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

Biff

"Martina" wrote in message
...
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






  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Extraction

You're welcome. Thanks for the feedback!

Biff

"Martina" wrote in message
...
That is fantastic, thank you so much!!
regards
Martina

"T. Valko" wrote:

To extract the number:
=MID(A1,FIND("|",A1)+2,255)


Or, if the number is *always* 10 digits long:

=RIGHT(A1,10)

Biff

"T. Valko" wrote in message
...
To extract the number:

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

To extract the name:

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

Biff

"Martina" wrote in message
...
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







Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extraction Question maperalia Excel Discussion (Misc queries) 14 December 17th 06 03:32 AM
Word Extraction A.S. Excel Discussion (Misc queries) 3 May 5th 06 06:27 PM
data extraction TUNGANA KURMA RAJU Excel Discussion (Misc queries) 10 February 27th 06 12:25 PM
data extraction Usul New Users to Excel 1 February 16th 06 04:04 AM
Data Extraction Chicken Man Setting up and Configuration of Excel 1 February 24th 05 03:13 AM


All times are GMT +1. The time now is 10:35 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"