excel format

LOLLOBRIDGE

New Member
Joined
Aug 31, 2005
Messages
20
Hi all,
i'm writing a number in a cell but this number has one or more zero at the beginning, ex. 01113425.
Someone could tell me how to format the cell (custom , not text please)?

i've the same problem with access.

Thanks a lot!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.

Richard Schollar

MrExcel MVP
Joined
Apr 19, 2005
Messages
23,707
Are the numbers always the same number of digits ie so always 6 digits long so that if you have 123 it therefore needs 3 leading zeros to bring it up to the 6 digits? Then you can use:

000000

as the custom format.
 

barry houdini

MrExcel MVP
Joined
Mar 23, 2005
Messages
20,825
If your number always has 8 digits (including any leading zeroes) then try a custom format of

00000000
 

Forum statistics

Threads
1,181,420
Messages
5,929,801
Members
436,696
Latest member
Mr Rice

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
Top