16+ digits truncate in Excel

L

lurc

As I type 16+ digits in Excel, I am using Excel 2002, it will truncate the
last digit to zero, say type 1234567890123456, it becomes 1234567890123450
after ENTER pressed.

I know it can be resolved to set unit format to TEXT, is there still any way
to keep it as numeric instead of text?

Thanks.
 
D

David McRitchie

Excel maintains 15 significant digits that is a specification limit.
To get around it you have to use text and use subroutines to work
with the numbers.
 
J

Jerry W. Lewis

Clarification: The only numeric data type in Excel that fully resolves
more than 15 decimal digits is the VBA decimal data type. As David
noted, you would have to pass the values to VBA as text and then use
CDec() to convert to the Decimal data type.

Jerry

David said:
Excel maintains 15 significant digits that is a specification limit.
To get around it you have to use text and use subroutines to work
with the numbers.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

lurc said:
As I type 16+ digits in Excel, I am using Excel 2002, it will truncate the
last digit to zero, say type 1234567890123456, it becomes 1234567890123450
after ENTER pressed.

I know it can be resolved to set unit format to TEXT, is there still any way
to keep it as numeric instead of text?

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top