+ Reply to Thread
Results 1 to 6 of 6

Long numbers show up as Scientific Notation

  1. #1
    berryware421243
    Guest

    Long numbers show up as Scientific Notation

    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



  2. #2
    Ron Rosenfeld
    Guest

    Re: Long numbers show up as Scientific Notation

    On Mon, 7 Feb 2005 08:59:07 -0800, berryware421243
    <[email protected]> wrote:

    >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

  3. #3
    CarlosAntenna
    Guest

    Re: Long numbers show up as Scientific Notation

    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

    "berryware421243" <[email protected]> wrote in
    message news:[email protected]...
    > 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
    >
    >




  4. #4
    berryware421243
    Guest

    Re: Long numbers show up as Scientific Notation

    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

    "Ron Rosenfeld" wrote:

    > On Mon, 7 Feb 2005 08:59:07 -0800, berryware421243
    > <[email protected]> wrote:
    >
    > >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
    >


  5. #5
    berryware
    Guest

    Re: Long numbers show up as Scientific Notation

    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

    "CarlosAntenna" wrote:

    > 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
    >
    > "berryware421243" <[email protected]> wrote in
    > message news:[email protected]...
    > > 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
    > >
    > >

    >
    >
    >


  6. #6
    Ron Rosenfeld
    Guest

    Re: Long numbers show up as Scientific Notation

    On Mon, 7 Feb 2005 11:19:02 -0800, berryware421243
    <[email protected]> wrote:

    >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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1