PC Review


Reply
Thread Tools Rate Thread

How do I keep a 17 digit number from ending in "0" in excel?

 
 
creel28270
Guest
Posts: n/a
 
      17th Jun 2008
I am trying to enter 17 digit numbers in an excel spreadsheet, but the sheet
automatically changes the last digit to a zero.
 
Reply With Quote
 
 
 
 
Rick Rothstein \(MVP - VB\)
Guest
Posts: n/a
 
      17th Jun 2008
Either pre-format the cell(s) as Text or enter your numbers with a leading
apostrophe (it won't show up in the cell).

Rick


"creel28270" <(E-Mail Removed)> wrote in message
news:AFDE9DBC-5896-4022-84B7-(E-Mail Removed)...
>I am trying to enter 17 digit numbers in an excel spreadsheet, but the
>sheet
> automatically changes the last digit to a zero.


 
Reply With Quote
 
Ben M. Schorr - MVP (OneNote)
Guest
Posts: n/a
 
      17th Jun 2008
Sounds like it's rounding off. What version of Excel and what cell
format do you have chosen? (Number? Integer? Other?)

--
-Ben-
Ben M. Schorr, MVP
Roland Schorr & Tower
http://www.rolandschorr.com
http://www.officeforlawyers.com



"creel28270" <(E-Mail Removed)> wrote in message
news:AFDE9DBC-5896-4022-84B7-(E-Mail Removed):

> I am trying to enter 17 digit numbers in an excel spreadsheet, but the sheet
> automatically changes the last digit to a zero.


 
Reply With Quote
 
Harald Staff
Guest
Posts: n/a
 
      17th Jun 2008
Ben

There's 15 digit precision in Excel. Which I believe has something to do
with 32 bits resolution.

Best wishes Harald

"Ben M. Schorr - MVP (OneNote)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Sounds like it's rounding off. What version of Excel and what cell format
> do you have chosen? (Number? Integer? Other?)
>
> --
> -Ben-
> Ben M. Schorr, MVP
> Roland Schorr & Tower
> http://www.rolandschorr.com
> http://www.officeforlawyers.com
>
>
>
> "creel28270" <(E-Mail Removed)> wrote in message
> news:AFDE9DBC-5896-4022-84B7-(E-Mail Removed):
>
>> I am trying to enter 17 digit numbers in an excel spreadsheet, but the
>> sheet
>> automatically changes the last digit to a zero.

>


 
Reply With Quote
 
Jerry W. Lewis
Guest
Posts: n/a
 
      18th Jun 2008
IEEE double precision (used by Excel) uses 64 bits to represent floating
point numbers. 52 bits (effectively 53 bits for numbers > 1E-307 in
magnitude) go to repesenting the value (the rest go to the exponent and
sign). This is sufficient to approximate 15 decimal digit numbers, but
requires 17 decimal digits to uniquely identify the binary represention.
Excel's documented 15 decimal digit limitation is a design decision to avoid
explaining why some 17 decimal digit numbers would otherwise change value
immediately on input. Some other IEEE compliant packages will allow you to
see and directly manipulate the full 17 decimal digits.

Jerry

"Harald Staff" wrote:

> Ben
>
> There's 15 digit precision in Excel. Which I believe has something to do
> with 32 bits resolution.
>
> Best wishes Harald
>
> "Ben M. Schorr - MVP (OneNote)" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Sounds like it's rounding off. What version of Excel and what cell format
> > do you have chosen? (Number? Integer? Other?)
> >
> > --
> > -Ben-
> > Ben M. Schorr, MVP
> > Roland Schorr & Tower
> > http://www.rolandschorr.com
> > http://www.officeforlawyers.com
> >
> >
> >
> > "creel28270" <(E-Mail Removed)> wrote in message
> > news:AFDE9DBC-5896-4022-84B7-(E-Mail Removed):
> >
> >> I am trying to enter 17 digit numbers in an excel spreadsheet, but the
> >> sheet
> >> automatically changes the last digit to a zero.

> >

>
>

 
Reply With Quote
 
Ben M. Schorr - MVP (OneNote)
Guest
Posts: n/a
 
      18th Jun 2008
Ah. Good to know.

--
-Ben-
Ben M. Schorr, MVP
Roland Schorr & Tower
http://www.rolandschorr.com
http://www.officeforlawyers.com



"Harald Staff" <(E-Mail Removed)> wrote in message
news:#(E-Mail Removed):

> Ben
>
> There's 15 digit precision in Excel. Which I believe has something to do
> with 32 bits resolution.
>
> Best wishes Harald
>
> "Ben M. Schorr - MVP (OneNote)" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>
> > Sounds like it's rounding off. What version of Excel and what cell format
> > do you have chosen? (Number? Integer? Other?)
> >
> > --
> > -Ben-
> > Ben M. Schorr, MVP
> > Roland Schorr & Tower
> > http://www.rolandschorr.com
> > http://www.officeforlawyers.com
> >
> >
> >
> > "creel28270" <(E-Mail Removed)> wrote in message
> > news:AFDE9DBC-5896-4022-84B7-(E-Mail Removed):
> >

>
> >> I am trying to enter 17 digit numbers in an excel spreadsheet, but the
> >> sheet
> >> automatically changes the last digit to a zero.

>
> >


 
Reply With Quote
 
Harald Staff
Guest
Posts: n/a
 
      18th Jun 2008
Ah. Thank you Jerry.
Best wishes Harald

"Jerry W. Lewis" <post_a_reply@no_e-mail.com> wrote in message
news:9BC94ED3-4C8A-42B4-B73A-(E-Mail Removed)...
> IEEE double precision (used by Excel) uses 64 bits to represent floating
> point numbers. 52 bits (effectively 53 bits for numbers > 1E-307 in
> magnitude) go to repesenting the value (the rest go to the exponent and
> sign). This is sufficient to approximate 15 decimal digit numbers, but
> requires 17 decimal digits to uniquely identify the binary represention.
> Excel's documented 15 decimal digit limitation is a design decision to
> avoid
> explaining why some 17 decimal digit numbers would otherwise change value
> immediately on input. Some other IEEE compliant packages will allow you
> to
> see and directly manipulate the full 17 decimal digits.
>
> Jerry
>
> "Harald Staff" wrote:
>
>> Ben
>>
>> There's 15 digit precision in Excel. Which I believe has something to do
>> with 32 bits resolution.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
displays "####" when 1-digit number typed meanmommy Microsoft Excel Misc 2 12th Apr 2008 06:40 PM
Mail Merge drops 1st digit ("0") converting from Excel to Word =?Utf-8?B?Q2h1Y2sgTWFydGluaQ==?= Microsoft Excel Misc 3 7th Aug 2006 10:34 PM
How to add one digit "0" in the front of a number wliong Microsoft Excel Programming 3 25th Nov 2005 05:23 PM
How do you keep a 3-digit number starting with a "0" (ie. 058) =?Utf-8?B?SmFzb24=?= Microsoft Excel Misc 4 5th Dec 2004 11:24 PM
I enter in a 16 digit number and Excel turns the last digit to "O" G.Adamson Microsoft Excel Misc 6 12th Oct 2003 06:30 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:17 AM.