Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Custom Formats for Scientific Notation.

Custom Formats for Scientific Notation

Written by Allen Wyatt (last updated March 21, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


5

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 Microsoft 365. You can find a version of this tip for the older menu interface of Excel here: Custom Formats for Scientific Notation.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Specifying a Print Tray for a Worksheet

If you need to modify where a worksheet is printed (meaning, which paper tray it should use), Excel doesn't provide a lot ...

Discover More

Understanding Styles

Styles are a key concept in Microsoft Word. If you understand styles, you will find it much easier to use Word effectively.

Discover More

Vertical Alignment of an Inline Graphic

Word allows you to insert graphics in two ways: either inline or floating. If you use inline graphics, you may want to ...

Discover More

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!

More ExcelTips (ribbon)

Displaying Negative Percentages in Red

Excel includes quite a few different formats you can use for the information in a worksheet. One format that isn't as ...

Discover More

Altering the Displayed Format of Numbers to the Nearest 100

Want information in a worksheet to be formatted and displayed as rounded to a power of ten? You may be out of luck, ...

Discover More

Creating Two-Line Custom Formats

Creating custom formats is a very powerful way to display information exactly as you want it to appear. Most custom ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two more than 7?

2023-03-22 23:22:32

Philip

@Allan, try this as formula: "=LEFT(TEXT(A1,"0.000000000000000E+00"),15) & "x10^" & RIGHT(TEXT(A1,"0.000000000000000E+00"),3)"

When using it on A1 which contains the formule "=pi()*100" the result is 3.1415926535897x10^+02


2023-03-21 10:35:14

Philip

@Allan, I’m not at my Mac right now so can’t test my suggestion here for a while, but what I’d try is to set the number of digits to 15 (which I believe is the maximum accuracy for Excel in any case), by replacing the “0.00E+0” in the formula with “0.0#############E+0” (so minimum 1digit before the decimal point, 1 digit after the decimal point and 13 “optional” digits where they exist in the original number value. I believe “#” in a conditional format is used for the setting number of digits only to appear when necessary, where “0” forces a digit to appear even if non-existent (in which case it would show a 0). For that matter, if this works, you may want to add some “#” as well for the exponent part of the notation (which in the tip is limited to the 9th power of 10).

When I get some time, I’ll test this, and will confirm back here. If you beat me to it, let me know how it went.


2023-03-21 07:51:02

Alan Cannon

This forces all digits beyond the 1st 2 digits of the number to be lost. 5213 becomes 5.2x10^+3, losing 13. A much more complicated formula would be required to show additional digits, and all beyond the specified number digits would still be permanently lost.


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 "".


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.