New Excel Forum

This forum has been moved to TeachExcel.com

Ask all future questions in the New Excel Forum.

ExcelKey

Addition of dots between various numbers

Formulas, Functions, Formatting, Charts, Data Analysis, etc.

Addition of dots between various numbers

Postby Vibhav » Thu Mar 15, 2012 11:34 pm

HI

I want to add dot between the digits of the numbers in my worksheet
i want to add a dot between 123 i.e. make it 1.2.3 in my workbook, i have different numbers in every row for eg 912, 813 etc want to make them 9.1.2, 8.1.3 etc...kindly help
Thanks
  • 0

Vibhav
Rookie
 
Posts: 1
Joined: Mar 15, 2012
Reputation: 0
Excel Version: 2007

Re: Addition of dots between various numbers

Postby Sisyphus » Fri Mar 16, 2012 4:15 am

Hi,
You can do that with the cell format (Format/Cells - Number tab / Custom).
Write this in the 'Type' field:
Code: Select all
0\.0\.0
This format works fine with numbers of exactly 3 digits. a zero will be shown in place of missing digits. If your number has more than 3 digits the extra digits will be shown before the first period. Replacing 0 with # will avoid showing zeros in place of missing digits, but there is no way to prevent as many periods from being written as the format holds, regardless of how many digits your number has.
I hope this can meet your requirement.
  • 0

Have a great day! :D

Sisyphus
I do this for "honour and country" - much less of the latter, actually.
If I helped you, award points, plenty of them.
If I bored you, deduct points for being too long-winded. (I know, :lol)
Sisyphus
Former Moderator
 
Posts: 4454
Joined: Dec 7, 2011
Location: Shanghai
Reputation: 203
Excel Version: 2010


Return to General Excel Questions

Who is online

Users browsing this forum: No registered users and 29 guests