Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. 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: Superscripts in Custom Formats.

Superscripts in Custom Formats

by Allen Wyatt
(last updated May 12, 2021)

2

When working in Excel, you can easily format text so that it contains superscripts, subscripts, or whatever other formatting tricks you want. You use the Format Cells dialog box (Ctrl+Shift+F) to make these font modifications. This dialog box is not available when you are defining custom formats, however. (You can't use the tools on the Font tab of the Format Cells dialog box while you are defining a custom format on the Number tab of the Format Cells dialog box.) What if you want to place a superscript in your custom formats?

The answer is to use some of the special font characters available to Windows users. Using these characters you can easily insert superscripted numbers, as long as they are the numbers 0, 1, 2, or 3. Simply use the following shortcuts, where you hold down the Alt key as you type the numbers on the numeric keypad:

Superscript Shortcut
0 Alt+0186
1 Alt+0185
2 Alt+0178
3 Alt+0179

These shortcuts work if you are using the Arial font in your worksheet, which is the default. If you are using some other font, the character codes to create the superscripted numbers may be different. In that case, you will need to use the Windows Character Map accessory to figure out what shortcut keys to use to get the results you want. (On my Windows XP system, I can access the Character Map accessory by choosing Start | All Programs | Accessories | System Tools | Character Map. It may differ on your version of Windows. You may also need to install the Character Map using Windows Setup program if you cannot find it on your system.) When using the Character Map, you can select a symbol and see in the lower-right corner of the program window what the numeric keypad shortcut key is for the character.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8665) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Superscripts in Custom Formats.

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

Viewing Your Custom Styles

If you develop a set of preferred styles, you may want to use those styles with a document you receive from someone else. ...

Discover More

Error in Linked PivotTable Value

Excel allows you to link to values in other workbooks, even if those values are in PivotTables. However, Excel may ...

Discover More

Changing the Characteristics of the Recycle Bin

Windows allows you to easily configure the properties associated with the Recycle Bin. This tip provides an overview of ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!

More ExcelTips (ribbon)

Handling Negative Numbers in a Complex Custom Format

Custom formats are great for defining how a specific value in a cell should look. They aren't that great at doing complex ...

Discover More

Getting Rid of Leading Zeros in a Number Format

Excel, by default, displays numbers with a leading zero, if they are less than 1. Here's how you can get rid of those ...

Discover More

Easy Value Hiding

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 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 2 + 4?

2021-05-12 10:29:49

Billy Thomas

I use AutoCorrect to insert a bunch of special characters. My shortcut for ² is ~2. Conversely, my shortcut for ₂ is `2. Same keys for both, which the ² being the "uppercase".


2021-05-12 05:21:32

Kiwerry

Thanks, Allen; two remarks:

On Windows 10 the character map can be found as follows:
Start Menu > Windows Accessories > Character Map

I have trouble remembering the numbers to use for the method you suggest, so I use one of the following strategies as appropriate:

Before opening the Custom Format dialogue I copy the character I want from a cell in Excel, then paste it into the custom format where I want it.

I copy a cell with the required custom formatting from another workbook (I have a collection of custom formats in my personal workbook, so they are readily available), and paste the formatting into the workbook I am currently using. This creates the custom format in the collection in the current workbook, where it can be amended if necessary.


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.