Solved

Formatting a column of telephone numbers in Excel 2007

Posted on 2011-09-23
3
210 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

821 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