How to align column of numbers by decimal point in Excel?

Sometimes, we need to align the numbers by decimal point in a column in worksheet to make the numbers more neatly and beautifully as following screenshot shown.

In Excel, we can align the column of numbers by decimal point by using the Format Cells function. In this article, you will get the details.

Align column of numbers by decimal point in Excel

Align column of numbers by decimal point in Excel

To align the column of numbers by decimal point in Excel, please do as follows:

1. Select your numbers list which you want to align them by decimal point.

2. Right click, and choose Format Cells from the context menu, see screenshot:

3. Then, in the Format Cells dialog box, click Custom under Number tab, and enter this 0.???? into the Type box, see screenshot:

Note: The ? stands for the number of your decimal digits, it depends on your largest decimal digits. If the highest decimal places is 5, you just need to enter five question marks as you need.

4. Then click OK to close this dialog, the numbers in the selected cells will line up on the decimal point for left, center and right alignment. See screenshot:

Note: If your data contains the whole numbers, they will be added a dot mark after the whole number.

Best Office Productivity Tools

 ðŸ¤– Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functionsâ€¦ Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |   Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
how do i line up decimals in numbers 519.7 and 4.093.. lol
This comment was minimized by the moderator on the site
Hello, moran,
Select the number cells, and then, you just need to enter 0.??? into the Format Cells dialog box.
This comment was minimized by the moderator on the site
Has anyone found the answer to zylstra's question (how to get rid of the decimal point while keeping the alignment)?
This comment was minimized by the moderator on the site
Yes. I've done this. Although my post keeps getting removed.
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
Step 1:
Format Cells -> Number -> Custom -> "0.????"
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
Format... -> Number -> Custom -> "0 ________"
Applies to -> "=\$B\$2:\$B\$18"

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE
This comment was minimized by the moderator on the site
Although not pixel-strict alignment, but almost indistinguishable from that:
imgur: Y5DPdfS
Step 1:
Format Cells -> Number -> Custom -> "0.????"
imgur: 94q7vJH
Step 2:
Conditional Format ->
New Rule -> Use a formula -> "=B2=TRUNC(B2)"
imgur: LaTwE2Z
Format... -> Number -> Custom -> "0â€‰________"
imgur: GOcuE9M
Applies to -> "=\$B\$2:\$B\$18"
imgur: 953EWYh

Note 1: Number of '_'s is twice of number of '?'s.
Note 2: Symbol between '0' and '_' is U+2009 THIN SPACE ('â€‰')
This comment was minimized by the moderator on the site
Any way to get rid of the decimal for whole numbers?
This comment was minimized by the moderator on the site
I've been looking for an answer to that question for a good while. I need a way to do this with custom number formatting and haven't found a solution. I don't have to say that often with Excel, but I don't think it's possible.
This comment was minimized by the moderator on the site
use "0.0???", to force a 0 after the decimal. "2." becomes "2.0"
This comment was minimized by the moderator on the site
Doesn't eliminate the decimal point for whole numbers.
There are no comments posted here yet