Yes, you can apply superscript formatting to text or numbers in Excel to create footnote references, chemical formulas, or mathematical exponents. This is done using the Format Cells dialog or the keyboard shortcuts Ctrl+1 and then the superscript toggle. This guide covers the standard methods for desktop versions of Excel on Windows and macOS, as well as how to handle superscript within formulas.
What You'll Need
- A computer running Microsoft Excel (2016, 2019, 2021, or Microsoft 365).
- A spreadsheet with data where you want to apply the formatting.
Step-by-Step
- Select the cell or range of cells containing the text or number you want to make superscript. You can click a single cell to format just that entry, or hold the Shift key and click multiple cells to format a range at once.
- Right-click on the selected cells to open the context menu, or go to the Home tab on the ribbon and look for the Font group. Click the small arrow in the bottom-right corner of the Font box. This opens the Format Cells dialog window.
- In the Format Cells dialog, look for the section labeled Effects. Check the box that says Superscript. You will see the preview in the box above update to show the text raised and made smaller.
- Click OK to apply the formatting. The text will now appear in superscript. For example, if you typed "x2" and applied the effect, it will display as x².
Alternative Method: Keyboard Shortcut
- Click on the cell or select the range of cells you want to format.
- Press and hold the Ctrl key on your keyboard and press the number 1. This opens the Format Cells dialog directly.
- In the Effects section of the dialog, check the Superscript box and click OK.
Using the Ribbon Button (Mac Only)
- Click the cell or range of cells you wish to format.
- Go to the Home tab on the ribbon.
- Look for the Font group and click the Font Dialog Box Launcher (the small arrow in the bottom right corner of the group).
- In the Effects section, check the Superscript box and click OK.
Applying Superscript to Formulas
Applying superscript formatting to a formula result is slightly different. You cannot simply format the cell containing the formula. Instead, you must edit the formula itself to include the superscript formatting codes.
Excel uses the CHAR function to generate special characters. The superscript character for "2" is generated by CHAR(178). You can combine this with text using the ampersand (&) operator.
Example 1: Simple Exponent
- Click on an empty cell where you want the result.
- Type the following formula to display "x squared":
="x" & CHAR(178) - Press Enter. The cell will display x².
Example 2: Complex Formula
If you are calculating area, you might want the result to show "m²". You can nest the CHAR function inside TEXT or concatenate it with the result of your calculation.
- Suppose you have a length of 10 in cell A1 and width of 5 in cell B1. To calculate the area and show it as "50m²", you would use the formula:
=(A1*B1) & "m" & CHAR(178) - Press Enter. The result will be 50m².
Common Mistakes
- Formatting the result instead of the entry: A common error is applying superscript formatting to a cell that contains a formula. This will not change the visual appearance of the formula result. You must edit the formula string to include the formatting codes as shown above.
- Missing the ampersand: When combining text and the superscript character, you must use the ampersand (&) to link them. Without it, Excel will treat the formula as a text string and try to multiply the numbers, resulting in an error or a nonsensical output.
- Confusing Superscript and Subscript: Superscript raises the text above the baseline (like an exponent), while subscript lowers it (like chemical formulas). Ensure you have selected the correct box in the Format Cells dialog.
Tips
- Consistency: If you are building a large document with many superscript references, use the Format Painter tool. Apply the superscript formatting to one cell, click the Format Painter, then click all other cells that need the same formatting.
- Keyboard Shortcuts: The keyboard shortcut Ctrl+1 is a quick way to open the Format Cells menu. This can save time when you need to toggle between Superscript and Subscript frequently.
- Formatting a Range: You can select multiple non-contiguous cells by holding the Ctrl key while clicking them. Once selected, the superscript formatting will apply to all of them at once.
- Mac Users: Mac users do not have a dedicated superscript button on the ribbon. Always use the Font Dialog Box Launcher or the Format Cells shortcut (Cmd+1) to access this feature.
Troubleshooting
Superscript is not working
- Check cell selection: Ensure you have actually clicked on a cell or selected a range of cells. If nothing is selected, no formatting can be applied.
- Check for locked cells: If the sheet is protected, formatting changes may be disabled. Go to the Review tab and click "Unprotect Sheet" to make changes.
- Check for merged cells: Formatting a merged cell can sometimes behave unexpectedly. Try unmerging the cells and applying the formatting to the individual cells before merging them again.
Formula returns an error
- Check for text strings: The formula
CHAR(178)works best with text. If your cell is formatted as a Number, Excel might try to interpret the result as a date or a number. Ensure the cell containing the formula is formatted as "General" or "Text". - Verify the character code: The code 178 is for the superscript 2. If you are trying to create a superscript 3, use
CHAR(179). Using an invalid code will result in a #VALUE! error.
Formatting applies to the whole entry
If you only want to superscript a portion of a sentence (e.g., make the "2" in "Year 2022" superscript), you cannot do this with a single cell selection. You must use the formula method: ="Year " & CHAR(178) & "022". This breaks the text down into components and links them together with the superscript character in the middle.
Frequently Asked Questions
How do I make a number superscript in Excel?
Since Excel treats numbers as values, you must enter them as text strings. You can either type the number with an apostrophe before it (e.g., type '5 to get 5) and then apply the superscript effect, or use the formula method ="5" & CHAR(178).
Can I use superscript in Excel on a mobile phone?
Yes, you can. On the mobile app for iOS and Android, tap on the cell to select it, then tap the three dots (...) in the top right corner of the keyboard to open the formatting options. From there, you can select the superscript or subscript formatting option directly.
What is the superscript character code for 3?
The character code for the superscript 3 is 179. You can use the formula CHAR(179) or CHAR(179) & "m" to create ³m.
Why does my superscript formatting disappear when I edit the cell?
Superscript formatting is a visual style. If you edit the cell content, Excel will reset the cell to its default text format. You will need to re-apply the superscript formatting after you finish typing your changes.
Can I create a superscript footnote reference?
Yes. You can type your footnote number in the main text and then use the formula method to display the corresponding footnote marker in superscript. For example, to create a reference ¹, use CHAR(185). To create ², use CHAR(178).