+ Reply to Thread
Results 1 to 9 of 9

Numbers stored as text without being in scientific notation

  1. #1
    Registered User
    Join Date
    08-04-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    6

    Numbers stored as text without being in scientific notation

    Hi,

    So at my new job I seem to be running into an issue with numbers stored as text. When I pull data from different databases the ISBNs come out stored as text (as I want them to be) but they're in scientific notation. When I use the column to text function they're still in scientific notation. If I convert them to numbers I run into a lot of errors with already created formulas and such. Any help on getting these out of scientific notation while keeping them as text?

    Thanks for the help

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Numbers stored as text without being in scientific notation

    One situation that can cause numbers to be converted to scientific format is that the column is too narrow for the number to be displayed. Try making the column wider.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,684

    Re: Numbers stored as text without being in scientific notation

    Can you post a sample? I tried to recreate what I thought you might have but have been unsuccessful. I put 2.502E+12 in a cell and if I make it a number I get 2502066310000. If I put 2.502e+12 in another and make it text it seems to remain that way but if I point a formula to it the formula works - for instance =A2*2 makes it 504000000000.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  4. #4
    Registered User
    Join Date
    08-04-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    6

    Re: Numbers stored as text without being in scientific notation

    Here's an example!
    Attached Files Attached Files

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Numbers stored as text without being in scientific notation

    Is this what you wanted:

    =TEXT(A2,"0")
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  6. #6
    Registered User
    Join Date
    08-04-2015
    Location
    New Jersey
    MS-Off Ver
    2007
    Posts
    6

    Re: Numbers stored as text without being in scientific notation

    Not really I was hoping for something that wasn't a formula, thank you though that could also work

  7. #7
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,387

    Re: Numbers stored as text without being in scientific notation

    Even though the cells are formatted '@' as text, they appear to contain "numbers" anyway (you can see this using the =istext() formula, it returns FALSE). This suggests to me that Excel is converting them to numbers before applying the text formatting, or that you are importing the numbers to Excel before applying the formatting.

    If you do not want to use the TEXT() formula (post-import) as Glenn suggests, then I would suggest that this issue needs to be handled during the "extract info from database and import into Excel" operation. For example, If I take one of those numbers (formatted as "0" instead of "@" so I can see the entire number), and hand enter it into column A below the sample values, I get the desired text string (not a number). I recognize that it is undesirable to hand enter every entry, but, since you have not given us any information about the imprt process, and only shown us the final result, I offer this as an example of how your result may be different by changing how you extract the data from the database and import it into Excel.

    In the end, a helper column with Glenn's TEXT() formula might be the easiest to apply, though.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  8. #8
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Numbers stored as text without being in scientific notation

    [.... deleted ....]
    Last edited by joeu2004; 08-05-2015 at 01:17 PM. Reason: just realized you say you want the result to be text

  9. #9
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Numbers stored as text without being in scientific notation

    Select column A and format as NUMBER. Click on Decrease Decimal (Home Tab, Number Group) to decrease the decimal places to 0.

    A
    B
    C
    1
    ISBN-13 Title Author
    2
    9780345523259
    IMPERFECT ABBOTT, JIM
    3
    9780345523266
    IMPERFECT ABBOTT, JIM
    4
    9780812978513
    AMERICAN ROSE ABBOTT, KAREN

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: 09-12-2014, 04:10 PM
  2. Excel Tracking In Scientific Notation Numbers
    By Fredbugatti in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-23-2014, 01:14 AM
  3. Replies: 3
    Last Post: 03-08-2013, 12:51 PM
  4. Replies: 3
    Last Post: 01-26-2009, 07:43 PM
  5. Using scientific notation in TEXT() function
    By boopathi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-10-2005, 04:05 PM
  6. [SOLVED] Concatented Numbers Display as Scientific Notation
    By RWN in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-30-2005, 11:05 PM
  7. [SOLVED] Long numbers show up as Scientific Notation
    By berryware421243 in forum Excel General
    Replies: 5
    Last Post: 02-08-2005, 12:06 AM

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