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.
Double Underline a Grand Total
Problem: My boss is a Certified Accountant. He says I should double underline the grand total in a report. The Home tab of the ribbon offers a single underline icon. How can I add a double underline?
Strategy: You select the grand total cell and, instead of clicking the Underline icon, you click the dropdown arrow next to the Underline icon. Then you choose Double Underline.
Figure 1132 The dropdown leads to double underline.
Alternate Strategy: You can also press Ctrl+1 to access the Format Cells dialog. On the Font tab, from the Underline dropdown you can select Single Accounting or Double Accounting.
Figure 1133 The Format Cells dialog offers more underline choices.
Gotcha: When you choose Double Underline from the Home tab’s Underline dropdown, the Underline icon changes to a Double Underline icon. To apply a single underline, you then have to use the dropdown next to the Double Underline icon.
Figure 1134 The underline icon changes to a Double Underline.
If you want one-click access to either the single or double underline, there are three Quick Access Toolbar icons. Underline, Double Underline, and Underline Gallery.
Figure 1135 Add the double underline icon to the QAT.
What is the difference between underlines and accounting underlines? For text, an accounting underline extends most of the way across the cell, while a regular underline includes only the characters in the cell.
For numbers, the single underline is under the characters. The double underline extends almost to the edge of the cell.
Figure 1136 Regular and accounting underlines.
The big difference with the accounting underlines shows up when you use any of the (Indent) choices. To try it, go to Format Cells, Alignment. Choose Right (Indent), Left (Indent), or Distributed (Indent) from the Horizontal Alignment dropdown. Increase the Indent spin button.
Figure 1137 Choose one of the (Indent) choices.
The accounting underline will extend beyond the numbers.
Figure 1138 Underlines extend beyond numbers with accounting style.