Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default separate numbers out of string

Hi.


I have a 21 digit number, and I want the 2'nd through 10'th digits placed in
cell B1. I would like the 11'th and 12'th digits placed in cell C1. I would
like the 19'th through 21'st digits placed in cell C3. How do I do this?


Here is an example of what I am trying to do:

A B
C D
1 213042156298658923911 130421562 98
911
2
3
4
5
--
vze2mss6
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,089
Default separate numbers out of string

Use the MID function

Regards

Trevor


"joesf16" wrote in message
...
Hi.


I have a 21 digit number, and I want the 2'nd through 10'th digits placed
in
cell B1. I would like the 11'th and 12'th digits placed in cell C1. I
would
like the 19'th through 21'st digits placed in cell C3. How do I do this?


Here is an example of what I am trying to do:

A B
C D
1 213042156298658923911 130421562 98
911
2
3
4
5
--
vze2mss6



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default separate numbers out of string

=MID(B1,2,9)

=MID(B1,11,2)

=MID(B1,19,3)

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"joesf16" wrote in message
...
Hi.


I have a 21 digit number, and I want the 2'nd through 10'th digits placed
in
cell B1. I would like the 11'th and 12'th digits placed in cell C1. I
would
like the 19'th through 21'st digits placed in cell C3. How do I do this?


Here is an example of what I am trying to do:

A B
C D
1 213042156298658923911 130421562 98
911
2
3
4
5
--
vze2mss6



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 28
Default separate numbers out of string

Got it thanks!
--
vze2mss6


"joesf16" wrote:

Hi.


I have a 21 digit number, and I want the 2'nd through 10'th digits placed in
cell B1. I would like the 11'th and 12'th digits placed in cell C1. I would
like the 19'th through 21'st digits placed in cell C3. How do I do this?


Here is an example of what I am trying to do:

A B
C D
1 213042156298658923911 130421562 98
911
2
3
4
5
--
vze2mss6

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
Separate a String of #'s Coal Miner Excel Worksheet Functions 4 July 10th 06 04:47 PM
Separate a FirstLast text string into two columns drewannie Excel Discussion (Misc queries) 5 July 6th 06 12:05 AM
Converting Text String to Separate Numbers Cincy Excel Discussion (Misc queries) 1 June 7th 06 10:30 AM
Separate characters in a string viadisky Excel Discussion (Misc queries) 2 February 1st 06 05:35 PM
Breaking up a string into separate columns Loz Excel Worksheet Functions 5 November 22nd 05 03:08 AM


All times are GMT +1. The time now is 05:01 PM.

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"