+ Reply to Thread
Results 1 to 4 of 4

Custom Formatting Scientific Notation

  1. #1
    Registered User
    Join Date
    12-18-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    2

    Custom Formatting Scientific Notation

    Hello!
    I am working on assembling some data into several tables, and I am having trouble getting Excel to format the data in scientific notation the way my instructor requires it. For example, I want the number 0.000008 to be formatted as 0.08e-4 instead of 8.0e-6 to match my other values. I need the powers to be the same so I can accurately compare and report those values in a table. If anyone could help me with this problem, I would greatly appreciate it!
    Thanks!
    P.S. I have friends who are formatting their data in Microsoft because we couldn't figure out an alternative way, but we have a lot of data! I would really appreciate any advice.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Custom Formatting Scientific Notation

    You can't force Excel to format with a particular exponent. You can force it to do engineering formats (exponents that are multiples of 3), or exponents that are multiples of some other number. Or you could use a formula, but I'm not sure I see the value in that.

    If you want to be able to visually compare them, use a fixed-point format.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    12-18-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Custom Formatting Scientific Notation

    Thanks for the quick reply!
    I need the data to have the same exponents though, for data analysis and reporting purposes. Looks like I'll have to do it in word then...
    Thanks again!

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,837

    Re: Custom Formatting Scientific Notation

    I'm not sure how it will be easier in Word. In Excel, you would need a "text" function that will build a text string for the number. Part will be to extract the necessary mantissa from the value, then part to concatenate on the exponential notation part. For putting everything on a 10^-4 basis:
    mantissa=x/1e-4
    exponent=-4
    cell=concatenate(text(mantissa,"0.00"),"E",text(exponent,"00"))
    Of course this makes a text string that isn't really a usable value, so if you need to use this value in other calculations, you will need to make sure you save the actual value somewhere.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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