Need the zero to be return in front

serge

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

I have this formula that separate a whole number into individual cell, this number have a total of 10 digits always but sometime the the number start with zero so my formula doesn't return those zero from the front number ( in green ) and I need it to be, keeping the same formula if possible, what need to be change for this to work ?
Excel Workbook
BFBGBHBIBJBKBLBMBNBOBPBQ
610211000001021100000
72011100000201110000
8320000000032000000
922100000002210000
Sheet
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Try
Code:
[COLOR=#000000][FONT=Arial]=IFERROR(0+MID[/FONT][/COLOR][COLOR=#000000][FONT=Arial](RIGHT[COLOR=#0000FF](REPT[COLOR=#FF0000](" ",10)[/COLOR]&$BF6,10)[/COLOR],COLUMNS[COLOR=#0000FF]($BH:BH)[/COLOR],1)[/FONT][/COLOR][COLOR=#000000][FONT=Arial],0)[/FONT][/COLOR]

 
Upvote 0
Thank you Scott, it works, I really appreciate it.
Serge.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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