Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Custom Formats for Scientific Notation.
Written by Allen Wyatt (last updated April 2, 2022)
This tip applies to Excel 97, 2000, 2002, and 2003
Reid notes that he can display numbers using scientific notation and they appear in Excel in the format 1.23E+03 or 1.23E-03. He would like the scientific notation to be shown differently, such as 1.23x10^3 or 1.23x10^-3.
There is no way in Excel to change the way in which scientific notation is displayed. The only workaround is to use a formula to put together a text representation of what you want. For instance, if a value that uses Excel's scientific notation is stored in cell C7, you could use the following formula:
=LEFT(TEXT(D7,"0.00E+0"),3) & "x10^" & RIGHT(TEXT(D7,"0.00E+0"),3)
This formula essentially pulls the left portion of the number (the part before the E) and combines it with the right part of the number (the part after the E) together with the "x10^" notation. The result is considered a text string by Excel; it cannot be used in subsequent calculations.
If you needed to do quite a bit of formatting in this manner, it would be a relatively trivial matter to create a macro that returned the formatted text string based on the number. Create it as a user-defined function and you could then use it in your formulas.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (9234) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Custom Formats for Scientific Notation.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
Enter a fraction into Excel, and you may be surprised that the program reduces the faction to its simplest form. If you ...
Discover MoreWhen dealing with files containing comma-separated values, you want to make sure that what gets imported into Excel ...
Discover MoreApplying different formatting to the text within a cell can seem a bit confusing. This is certainly the case when it ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-04-02 04:58:04
Rick Rothstein
You could also use either of these shorter formulas as well...
=REPLACE(TEXT(D7,"0.00E+0"),5,1,"x10^")
=SUBSTITUTE(TEXT(D7,"0.00E+0"),"E","x10^")
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments