ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Leading zero (https://www.excelbanter.com/excel-discussion-misc-queries/54509-leading-zero.html)

Firefli

Leading zero
 
How can I reset the default to show a leading zero? At this time I have to
use the apostrophe in order for it to show.

Ray A

Leading zero
 
one way;
format cells to text
HTH

"Firefli" wrote:

How can I reset the default to show a leading zero? At this time I have to
use the apostrophe in order for it to show.


Duke Carey

Leading zero
 
Depends on whether the VALUE has to ahve a leading zero, or just the DISPLAY.

If the VALUE must have a leading zero, use Ray's suggestion.

If it's just the display, use a custom format (Format-Cells-Number-Custom)

like "000000" which will show the value

123 as 000123

and the number

1234567 as 1234567




"Firefli" wrote:

How can I reset the default to show a leading zero? At this time I have to
use the apostrophe in order for it to show.



All times are GMT +1. The time now is 06:51 AM.

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