#1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 54
Default cell format

Why when entering a 12 digit number is the last digit is changed to a "0"
when saving? An example would be entering the number 123456789123 would be
saved as 123456789120. Currently my cell format is general.
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 4,393
Default cell format

In Excel2003, if I enter 123456789123 I get 1.234567E+11 with a cell
formatted to General.
If I format it to Number with 0 decimal places I get 123456789123

Of course, we can only have 15 significant digits because Excel uses the
IEEE convention to store numbers.

best wishes
--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"Anders" wrote in message
...
Why when entering a 12 digit number is the last digit is changed to a "0"
when saving? An example would be entering the number 123456789123 would
be
saved as 123456789120. Currently my cell format is general.



  #3   Report Post  
Posted to microsoft.public.excel.newusers
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default cell format

If your number is a "stock number" or somethine else that you will not have
to do math on later, you can prevent the problem by just pre-formatting the
cells as TEXT, or typing a leading apostrophe before the number which does
the same thing.

hth

Vaya con Dios,
Chuck, CABGx3



"Anders" wrote:

Why when entering a 12 digit number is the last digit is changed to a "0"
when saving? An example would be entering the number 123456789123 would be
saved as 123456789120. Currently my cell format is general.

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
conditional cell format based on cell in same row, previous column tamiluchi Excel Worksheet Functions 7 May 3rd 06 04:11 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 01:46 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM


All times are GMT +1. The time now is 04:58 PM.

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"