Separating string of numbers from one cell into individual cell.

serge

Well-known Member
Joined
Oct 8, 2008
Messages
1,404
Office Version
  1. 2007
Platform
  1. Windows
Hi,
I have a macro that return in cell AL8, 5 numbers of 2 digits, I wanted to know if it would be possible to separate each number from that one cell into individual cell ?
If yes what formula could do that ?

123.PNG
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Use excel Text to Columns option think it was available in 2007 version
1665835403062.png

Book1
ABCDEFG
109 16 41 46 59916414659
Sheet1



Book1
A
19
Sheet1
 
Upvote 0
Hello, Kerryx, Thank you for your response that's a good idea but, I need to keep the original data intact.
 
Upvote 0
Ok set destination to $B$1in fianl step will keep original datat in column A
1665835546840.png
 
Upvote 0
I looked everywhere, can't find it ?
Do you think a formula could do the job ?
 
Upvote 0
Yes a formula could do the job but more complicated do all the cells have 5 seperate numbers in the cell or do some have more or less numbers in the cells in column A, would you have examples to work with?
Use the XL2BB addin to provide examples of what yu need split
 
Upvote 0
Formula option
Book1
ABCDEF
209 16 41 46 590916414659
Sheet1
Cell Formulas
RangeFormula
B2B2=LEFT(A2, SEARCH(" ",A2,1)-1)
C2C2=MID($A$2, SEARCH(" ",$A$2) + 1, SEARCH(" ",$A$2,SEARCH(" ",$A$2)+1) - SEARCH(" ",$A$2) - 1)
D2D2=MID($A$2, SEARCH(" ",$A$2) + 4, SEARCH(" ",$A$2,SEARCH(" ",$A$2)+4) - SEARCH(" ",$A$2) - 4)
E2E2=MID($A$2, SEARCH(" ",$A$2) + 7, SEARCH(" ",$A$2,SEARCH(" ",$A$2)+7) - SEARCH(" ",$A$2) - 6)
F2F2=RIGHT(A2, SEARCH(" ",A2,1)-1)
 
Upvote 0
Thank you so much Kerryx, you solve my problem, really appreciate your help, thank you again.
 
Upvote 0

Forum statistics

Threads
1,214,932
Messages
6,122,334
Members
449,077
Latest member
Jocksteriom

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