Excel Tip: Printing Dot Leaders Before Numbers

Occasionally you may want to produce a column of text and a column of numbers with dots separating the text and the numbers. Here are two methods for producing dot leaders in Excel - one of them may work for you.

Method One:
This method produces dots that go from the left edge of the cell to one space before the number. The dots are in the same cell as the number. If you right-justify your column of text, then apply this number format to the cells containing numbers, it will look like your dots run from the edge of the text right up to the number, like this:

January ............ $1,584.25
February ............... $383.23
March ............ $2,837.33

To apply this method, follow these steps:

1. Right-justify your column of text by selecting the column, or the occupied cells in the column, and clicking the Align Right button on your Formatting toolbar (or choosing Format, Cells, Alignment, then choosing Right as the Horizontal alignment, then click OK).

2. Select the column of numbers or the cells containing the numbers to which you want to apply the dot leaders.

3. Choose Format, Cells from the menu, then click the Number tab.

4. Choose Custom from the Category list.

5. In the Type area of the Format Cells window, enter the following:

*._0.00

This code can be translated as follows:

  • The 0.00 is the number format, which is a standard two decimal place number format. Enter just a 0 if you don't want to display decimal places.
  • The underscore to the left of the zeros symbolizes a blank space, so that the dots won't run right into the numbers. You can enter more than one underscore of you would like to increase the number of spaces.
  • The asterisk followed by the period tells Excel to repeat the period from the left edge of the cell until it encounters the rest of the information (space and number) in the cell.
  • 6. Click OK when finished. The new number format will be applied to all selected cells.

    Method Two:

    If you would prefer, you enter the text left-justified in the first column, then provide dots from the text to the right side of the text column. The dots reside in the same cell as the text. The result will look like this:

    January............ $1,584.25
    February.......... $3,236.23
    March............... $2,837.33

    To apply this method, follow these steps:

    1. Enter your column of text.

    2. Select the column of text or the exact cells containing the text to which you want to apply the dots.

    3. Choose Format, Cells from the menu, then click the Number tab.

    4. Choose Custom from the Category list.

    5. In the Type area of the Format Cells window, enter the following:

    @ *.

    This code can be translated as follows:

  • The @ takes the place of text that you will enter. Following thi @ with a space will provide a separation between the text and the dots.
  • The asterisk followed by the period tells Excel to repeat the period from the right edge of the text until it encounters the right edge of the cell.
  • 6. Click OK when finished. The new number format will be applied to all selected cells.

    View more helpful tips!

    Voice of the Editor

    Even though any accounting auditor would tell you it seems like there are an awful lot of tax accountants out there, surely one-third of the country isn't made up of tax preparers, so it's rather startling news to learn that one-third of Americans like to do their taxes. Who knew?
    ADVERTISEMENT

    This Week on AccountingWEB

    Bill Walter of Gross, Mendelsohn & Associates and Harold Gaar of TravisWolff LLP weigh in on mobile technology use while employees are at work.
    WestArk RSVP and Fayette County Community Action Agency – organizations that received grant funding through the IRS Tax Counseling for the Elderly (TCE) program – spoke with AccountingWEB about how they assist senior citizens in their communities.
    CPA Robert Raiola, who heads the Sports & Entertainment Group of Fazio, Mannuzza, Roche, Tankel, LaPilusa, LLC, talks NFL player income taxes with AccountingWEB.
    Retiring KPMG Centennial Professor of Accounting at the University of Texas at Austin McCombs School of Business Robert May, PhD talks with AccountingWEB about his rewarding forty-three-year career.
    ADVERTISEMENT
    ADVERTISEMENT
    ADVERTISEMENT