ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   putting leading zeros in front of number (https://www.excelbanter.com/excel-discussion-misc-queries/38232-putting-leading-zeros-front-number.html)

caroline argyle

putting leading zeros in front of number
 
I would like to display a number with leading zeros in front of it.

Andrea Jones

Format the cell with a custom format such as

00000000

(this would put enough leading zeroes in front of the number to make it up
to 8 digits).

Andrea Jones
http://www.allaboutoffice.co.uk
http://www.stratatraining.co.uk
http://www.allaboutclait.com

"caroline argyle" wrote:

I would like to display a number with leading zeros in front of it.


FSt1

hi,
you could create a custom format for it but numbers with leading zeros are
usually not real numbers, that is a number you would want to do something
mathmatical to.
ever had a reason to devide your zip code by 2?
for that reason i usually recomend that you just format it as text and treat
it as such.

Regards

FSt1

"caroline argyle" wrote:

I would like to display a number with leading zeros in front of it.



All times are GMT +1. The time now is 02:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com