Help Community Login:
Join our Facebook Fan Page & win a FREE Flash Drive!

Giving away a free flash drive!
Want more details? Click Here!

Align Decimals In Numbers With Variable Decimal Places In MS Excel





3 replies [Last post]

If you have a spreadsheet that has variable decimal places and need to align them in a column on the decimal point regardless of the number of digits before and after the decimal, here's how:

Decimals not aligned:

Select your rows that you want to be aligned, right click and choose "Format Cells", go to the "Number" tab and choose "Custom", in the "Type" put in a ? to the right of the decimal point for the maximum number of decimal places you'll need. In my example it's three (.123, .888), hit OK, all your decimals will be aligned Smile

Decimals aligned

This should work for both Excel 2003 & 2007


Read More ...





Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Autumn's picture
Autumn
Premium Member (Gold)I'm a Code Monkey!I use Google ChromeWindows UserI donated more than $20+ to GeekDrop!I donated to GeekDrop simply because I love it!I spend all day Photobucketing!I took a bite of the AppleIs a FIERCE Competetor! 2nd place contest winner!The Dr. left the stem off the apple!Someone thinks you're udderly delightful!
Joined: 09/12/2009
Posts: 252
Drops: 337
Mood: Content
Groups: Geekdrop Cafe
Re: Align Decimals In Numbers With Variable Decimal Places ...

great stuff missb, i have spent so much time messing around with this and could never figure it out

Smartmom's picture
From:
Wellington Florida
Smartmom
Banned Member (Way To Go!)
Relationship Status:
Married
Joined: 01/15/2009
Posts: 6402
Drops: -10
Mood: Giggly
Re: Align Decimals In Numbers With Variable Decimal Places ...

Oh very nice, I hate spending hours trying to figure things like this out. Love the tips, keep them coming!!!

Anonymous's picture
Anonymous (not verified)
Re: Align Decimals In Numbers With Variable Decimal Places ...

Thanks, useful tip.

Is there any way to do this without losing the leading 0 of, say, 0.123?

facebook codes exploits tips tricks Phrozen Crew
All contents ©Copyright GeekDrop 2009-2012
TOS | Privacy Policy