Why does Excel replace any digits beyond 15 with zeros?

C

Chass

We are using Excel to store a 16 digit code for tracking. Unfortunately when
we put in any number that is larger than 15 digits, the last digits are
changed to zero. So a number like 1234567891234567 would be changed to
1234567891234560. A number like 123456789123456789 would be changed to
123456789123456000.

Why would it do this and how do I stop it?

Thanks
Chass
ct
 
R

Ron Rosenfeld

We are using Excel to store a 16 digit code for tracking. Unfortunately when
we put in any number that is larger than 15 digits, the last digits are
changed to zero. So a number like 1234567891234567 would be changed to
1234567891234560. A number like 123456789123456789 would be changed to
123456789123456000.

Why would it do this and how do I stop it?

Thanks
Chass
ct

Because Excel, like most other spreadsheets, conforms to IEEE specifications
for 15 digit precision (see specifications in HELP).

In order to enter you 16 digit tracking number, you may enter it as TEXT. You
can do this either by formatting the cell as TEXT BEFORE entering the tracking
number; OR by preceding the tracking number with a single quote (i.e. enter it
as '1234567890123456789

--ron
 

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