Separating string of numbers into single cells.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,444
Office Version
  1. 2007
Platform
  1. Windows
Hi,

I have in cell A5 : 02 06 10 25 39 and would like to separate those numbers into 1 cell each like below starting from cell B5:F5.

02 06 10 25 39 = 2 6 10 25 39

Thank you

[TABLE="width: 125"]
<tbody>[TR]
[TD="width: 125"][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi,

B5 formula copied across as far as needed (down and across if you have more rows of data):


Book1
ABCDEF
502 06 10 25 3926102539
Sheet170
Cell Formulas
RangeFormula
B5=IFERROR(MID(SUBSTITUTE($A5," ",REPT(" ",30)),COLUMNS($B5:B5)*30-29,15)+0,"")
 
Upvote 0
Try
Select A5
Data > Text to Columns >Delimited > Space
 
Upvote 0
Thank you very much jtakw, thats what I needed, I appreciate your help.
Serge
 
Upvote 0
Thanks PCL, but I was looking for a formula, thank you.
 
Upvote 0
Thank you very much jtakw, thats what I needed, I appreciate your help.
Serge

You're welcome, serge.

On second thought, might want to change the 15 to 30 in my formula, just in case you have long number strings:


Book1
ABCDEF
502 06 10 251234567890123 39261025123456789012339
Sheet170
Cell Formulas
RangeFormula
B5=IFERROR(MID(SUBSTITUTE($A5," ",REPT(" ",30)),COLUMNS($B5:B5)*30-29,30)+0,"")
 
Upvote 0
Here is another formula (placed in cell B5) that you can use...

=TRIM(MID(SUBSTITUTE(" "&$A5," ",REPT(" ",99)),COLUMNS($B:B)*99,99))
 
Upvote 0
Thank you Rick, I appreciate your help.
Serge.
 
Upvote 0

Forum statistics

Threads
1,223,909
Messages
6,175,314
Members
452,634
Latest member
cpostell

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top