Solved

Formatting a column of telephone numbers in Excel 2007

Posted on 2011-09-23
3
209 Views
Last Modified: 2012-05-12
I have a column of telephone numbers which currently are just displaying as
"8001234567"

is there a way to format this column to 800-123-4567?
0
Comment
Question by:morinia
3 Comments
 
LVL 12

Accepted Solution

by:
kgerb earned 250 total points
ID: 36586944
Format Cells, Custom, Type

Then use this custom format

###-###-####

Kyle
0
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 36586967
Select the column
press ctrl-1
select number tab
select custom
use this custom string:    ###-###-####
click on OK
0
 
LVL 4

Expert Comment

by:mustang83
ID: 36586972
yes you can use the formula :

=LEFT(A2,3)&"-"&MID(A2,4,3)&"-"&MID(A2,7,4)

Just change A2 to the cell which holds the telephone number. Then hide the cell which holds the unformatted number.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question