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 (9236) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Custom Formats for Scientific Notation.
Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!
Want a quick and easy way to hide the information in a cell? You can do it with a simple three-character custom format.
Discover MoreWhen working with very large numbers in a worksheet, you may want the numbers to appear in a shortened notation, with an ...
Discover MoreCustom formats are great for defining how a specific value in a cell should look. They aren't that great at doing complex ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2019-04-17 16:55:25
Yvan Loranger
Try =LEFT(TEXT(D7,"0.00E+0"),4) & "x10^" & RIGHT(TEXT(D7,"0.00E+0"),2)
2019-04-08 05:33:23
David Robinson
After getting the number into the text format I'd just substitute "E" with "x10^" and, I suppose, "+" with "".
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2021 Sharon Parq Associates, Inc.
Comments