is now part of CreativePro.com!

Tip of the Week: Decimal Align Numbers in Table Cells

13

This tip was sent to Tip of the Week email subscribers on October 9, 2014.

InDesignSecrets Tip of the Week

Sign up now and every week you’ll get a new InDesign Tip of the Week and Keyboard Shortcut of the Week, along with roundups of new articles at InDesignSecrets and CreativePro, plus exclusive deals sent right to your Inbox!

Just scroll all the way down to the bottom of this page, enter your email address, and click Go! We’ll take care of the rest. Now, on with the tip!


Ever need to align numbers in a table based on their decimal points? You might wonder if such a thing is even possible, since you usually don’t have any tabs in your table. But, you can still align text based on a specific character, like a decimal point in a number. Here’s how.

First, make sure the text is left-aligned in the Paragraph Options. Now select the table cells or columns that hold the numbers.
20141014-tip2
Then, even though you haven’t typed any tabs, choose Type > Tabs to open up the tab options.
20141014-tip3
Finally, choose the “align on decimal”-tab and click on the ruler to set the position.
20141014-tip4
You’ll notice your numbers start aligning automatically.
20141014-tip5

Bart Van de Wiele is a LinkedIn Learning author and public speaker currently working as a Principal Solutions Consultant at Adobe. Visit his website at bartvdw.com.
  • Dwayne says:

    That’s a good feature. I discovered it about three or four years ago (by accident). It had gotten tiresome putting tabs in there with the shift tab (or option tab–I forget which).

  • Lindsey Thomas Martin says:

    Bart,
    What typeface are you using in the screenshots?

    Thanks,
    LTM

  • TheSlapster says:

    Here’s a tricky one I dealt with a while ago – any suggestions on how to get those numbers nicely aligned to the right, without adjusting tracking?

    https://dl.dropboxusercontent.com/u/430620/DotLeader_AlignRight_Blurred.jpg

  • Eugene Tyson says:

    I’m surprised people didn’t know about this before, it’s been in Word, Quark, Corel and other software for a long time.

    Maybe it’s a bit obscure being hidden in the Tab Ruler – but even still, you can find the information in the Paragraph Style under Tabs.

  • Muttaqin Margo Nirwono says:

    Hi Bart,

    Indonesian decimal system is using “,” rather than “.”.
    How arrange this alignment for this system?

    Thanks & regards,

    MMN

  • Stephanie says:

    I have a pretty specific requirement (picture attached). I need to align a $ on the left and decimal align a range of numbers on the right. I need to align two “,” and just to throw it in there I have some numbers within a parenthesis. I really do not want to have to manually align these. Anyone have a solution?

    https://www.dropbox.com/s/e2y2vebqil5iedu/Decimal-Align.png?dl=0

  • Lorenzo Marini says:

    Hi Bart, thank you for the tip.
    I’d like to know how to add red bullets (aligned left) on the left of the decimal aligned text.
    I treid adding a new paragraph style but if i apply the bullets then the tabulation does not work! I have no idea how ti fix this.

    Thank you,
    Lorenzo

  • Stephescope says:

    I tried it with numbers in separate cells, and it doesn’t align them to decimal. If I put the numbers all in the same cell, then it will align to decimal. Is there a way to do it when they’re each in separate cells?

  • j chang says:

    It worked great, except for lines with superscript. Those only right aligned and did not decimal align. Any tips?

  • >