This page is an advertiser-supported excerpt of the book, Learn Excel 2007-2010 from MrExcel - 512 Excel Mysteries Solved. If you like this topic, please consider buying the entire e-book.
Mix Formatting In A Single Cell
Problem: I’d like to use strikethrough on the text in part of a cell. Is this possible?
Strategy: You can apply different formatting to certain characters in a cell.
You select the cell and then press F2 or double-click the cell. Select characters with the mouse or by using the arrow keys in combination with the Shift key. You can then apply formatting. Many icons on the Home tab of the ribbon are enabled. Any formatting shortcut keys, such as Ctrl+5 for strikethrough, will work. If you need to apply superscript or subscript, you use the Format Cells dialog by pressing Ctrl+1 or click the dialog launcher in the bottom-right corner of the Font group.
Figure 97 Format a subset of characters in a cell.
Gotcha: In addition to the character formatting, you can apply other formatting to the entire cell. For example, in C5, you can safely apply italic or underline to the cell without removing the bold from the first word. However, if you apply bold to the entire cell, Excel will not remember that you started with just the first word bold. You can not use the Bold icon on the entire cell to toggle back to the formatting shown in the figure.
Gotcha: If you later use the Justify command, the internal formatting will be lost.