ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to show "0" at the beginning of a number sequence? (https://www.excelbanter.com/excel-discussion-misc-queries/186555-how-show-0-beginning-number-sequence.html)

michelle

How to show "0" at the beginning of a number sequence?
 
For example, if I type 0123 in a cell, the "0" disappears and will only show
the 123. How to I disable that auto correction?

AKphidelt

How to show "0" at the beginning of a number sequence?
 
You have to make it a text... try adding a singel apostraphe before it... like

='0123

"michelle" wrote:

For example, if I type 0123 in a cell, the "0" disappears and will only show
the 123. How to I disable that auto correction?


FSt1

How to show "0" at the beginning of a number sequence?
 
hi
this is not an autocorrection. leading zeros on numbers are not necessary so
xl dumps them. but in the real world, some "numbers" do have leading zeros
and are usually some kind of id meaning that they are not really numbers ie
do math to, they are number use as letters. so if you don't plan to do
anything mathmatical to your number/words then pre-format as text or preceed
the input with an appostrophe(').
xl will view these entries as text and will stop droping the zeros.

Regards
FSt1

"michelle" wrote:

For example, if I type 0123 in a cell, the "0" disappears and will only show
the 123. How to I disable that auto correction?


Peo Sjoblom

How to show "0" at the beginning of a number sequence?
 
There is no autocorrection for leading zeros, if you always use 4 digits you
can use a custom format like

0000

if not precede the entry with an apostrophe or preformat as text


--


Regards,


Peo Sjoblom


"michelle" wrote in message
...
For example, if I type 0123 in a cell, the "0" disappears and will only
show
the 123. How to I disable that auto correction?





All times are GMT +1. The time now is 12:07 AM.

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