Long numbers show up as Scientific Notation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

We have a web based asset tracking system, and some assets have long serial
numbers; for instance,
3100600300030147987
or
3101600300100020220

When we import, cut and paste, or open an HTML format page in Excel with
these serial numbers, they all show up as: 3.1016E+18 and the last 6 digits
get rounded up.

How do we show the correct value for these long numbers in excel?

Thanks
 
Hello,

We have a web based asset tracking system, and some assets have long serial
numbers; for instance,
3100600300030147987
or
3101600300100020220

When we import, cut and paste, or open an HTML format page in Excel with
these serial numbers, they all show up as: 3.1016E+18 and the last 6 digits
get rounded up.

How do we show the correct value for these long numbers in excel?

Thanks

These must be imported as TEXT.


--ron
 
Excel won't work with numbers longer than 15 digits. You don't say exactly
how you are importing the data, but somewhere in the process you need to
identify the serial numbers as text. Maybe you could format the destination
cell as text or precede the number with an apostrophe ( ' ). The apostrophe
won't display or print, but will make the number a string.

Carlos
 
Hello,
We are exporting the result set of a query from the application as an HTML
table. This HTM file is opened in Excel and the long serial numbers get
truncated.

The same happens when we cut and paste.

We cannot prefix the number with another character as the HTML table export
is part of the application.

Thanks
 
Hello,
We are exporting the result set of a query from the application as an HTML
table. This HTM file is opened in Excel and the long serial numbers get
truncated.

The same happens when we cut and paste.

We cannot prefix the number with another character as the HTML table export
is part of the application.

Thanks
 
Hello,
We are exporting the result set of a query from the application as an HTML
table. This HTM file is opened in Excel and the long serial numbers get
truncated.

The same happens when we cut and paste.

We cannot prefix the number with another character as the HTML table export
is part of the application.

Thanks

If you cannot change how the application exports the data, you will probably
have to write a routine that preprocesses the HTML table before importing it
into Excel, in order that Excel may treat those long numbers as text. This is
not an area in which I am knowledgeable, however.

However, try the following procedure:

=========================
Copy the table.

Open Excel and format the cells as TEXT.

Paste/Special as TEXT

Clean up the mess (extra rows and so forth.
===================

--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

Back
Top