John uses Excel to keep a maintenance log. He frequently needs to add a symbol from the Insert Symbol dialog box. He’d like to assign the symbol to a shortcut key (it doesn’t have one already), but cannot find a way to do it.
Some symbols have obvious shortcut keys, defined by the folks in Redmond. One of the lesser-known facts is that every symbol has a “shortcut” key, but using that shortcut may not seem that short. How does this work? By holding down the Alt key as you type the ASCII or ANSI code for the symbol.
For instance, let’s say you want to enter the cents symbol. If you display the Insert Symbol dialog box and select the cents symbol, at the bottom right of the dialog box you can see the character code for the symbol (it is 00A2). This is a hexadecimal number; you need to convert it to regular decimal notation. You can do this by using the formula =HEX2DEC(“00A2”), which returns the value 162. If you remember this code, you can hold down the Alt key as you type the code, with a leading zero, on the numeric keypad.
This approach works great if you only need to input a few symbols on a regular basis; it doesn’t take much work to remember those few codes you need. However, if you have a lot of symbols you need to work with, then remembering codes becomes more problematic. You could develop your own printed “cheat sheet” for the symbols so that you can refer to it all the time, or you could rely on Excel’s AutoCorrect feature to do the remembering for you. Follow these steps:
- Use the Insert Symbol dialog box to insert the symbol into a cell.
- Select the cell that contains the symbol.
- Press F2 to start editing the cell.
- Select the symbol, and only the symbol.
- Press Ctrl+C to copy the symbol to the Clipboard.
- Display the Excel Options dialog box. (In Excel 2007 click the Office button and then click Excel Options. In Excel 2010 and Excel 2013 display the File tab of the ribbon and then click Options.)
- At the left side of the dialog box click Proofing.
- Click AutoCorrect Options. Excel displays the AutoCorrect dialog box. (See Figure 1.)
- In the Replace field, type a short mnemonic for the symbol. This should be a series of letters that are not a real word, such as hrt, which might be the mnemonic for a heart symbol.
- In the With field press Ctrl+V to paste the symbol from the Clipboard.
- Click OK.
Figure 1. The AutoCorrect tab of the AutoCorrect dialog box.
Now you can just type the mnemonic when you want the symbol to appear. When you type the space bar after the mnemonic, AutoCorrect kicks in and replaces it with the symbol.