Separating Digits from whole number.

serge

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


I'm looking for a formula that will separate the digits from a whole number, into single cells.


In cell AM6 I have the number : 5780 then I need starting in cell ; AO6, 5, AP6, 7. etc...


Numbers are from 1 digti to 5 Digits long.


Thank you.
Serge.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
=IF(COLUMN(A1)>LEN($AM6),"",RIGHT(LEFT($AM6,COLUMN(A1))))

copy formula to the right four cells.
 
Upvote 0
Hi,

Use AO6 formula if you want results converted to Real Numbers for further comparison/math.
Use AO8 formula if you Only want the digits extracted, results remain as Text.

Either way, formula copied across as far as needed:


Book1
AMANAOAPAQARASATAU
657805780
757801235780123
857805780
957801235780123
Sheet104
Cell Formulas
RangeFormula
AO6=IFERROR(MID($AM6,COLUMNS($AO6:AO6),1)+0,"")
AO8=MID($AM8,COLUMNS($AO8:AO8),1)
 
Upvote 0
shaowu and jtakw,

Thank you to both of you, your formulas work great, Really appreciate the help.
Serge.
 
Upvote 0

Forum statistics

Threads
1,223,703
Messages
6,173,977
Members
452,540
Latest member
haasro02

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