Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 60
Default Number entry starting with a "0", how do I view correctly?

If a cell contains a number series, such as 01239, how do I prevent the first
"0" from being omitted?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Number entry starting with a "0", how do I view correctly?

hi,
excel strips off leading zeros because mathmatically, they are unnecessary.
usully such "numbers" are some kind of id and are technically not numbers
because you don't really want to do mathmatical stuff with them anyway.
to keep the leading zeros, prefomat as text or preceed entry with an
apostrophe.

regards
FSt1

"Monique" wrote:

If a cell contains a number series, such as 01239, how do I prevent the first
"0" from being omitted?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Number entry starting with a "0", how do I view correctly?

You'd have to enter the number as a TEXT string.

Either preformat the cell as TEXT or precede the entry with an apostrophe:
'01239. The apostrophe does not display in the cell.

Another possibility, if the length of all entries is to be the same, you
could use a custom number format like: 00000. Using this method the leading
zero(s) will *display* 01239 but the true underlying value of the cell will
be 1239.

--
Biff
Microsoft Excel MVP


"Monique" wrote in message
...
If a cell contains a number series, such as 01239, how do I prevent the
first
"0" from being omitted?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to confirm entry in Col "C" is valid for data in Col "A" VAPCMD Excel Discussion (Misc queries) 2 January 2nd 09 07:58 PM
How do I replace decimals starting with "." to "0." in excel? Julio Excel Discussion (Misc queries) 2 November 1st 08 07:48 AM
Lost "File Menu" - now it's "Edit / View / Insert.." but no "F daves Excel Discussion (Misc queries) 3 April 24th 07 04:52 AM
Duplicate entry "x" number of times gennario Excel Discussion (Misc queries) 1 April 7th 06 11:57 PM
Missing "Custom View" entry from View menu mycroft777 Excel Discussion (Misc queries) 1 February 3rd 06 05:33 PM


All times are GMT +1. The time now is 11:41 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"