?
Solved

Formatting a column of telephone numbers in Excel 2007

Posted on 2011-09-23
3
Medium Priority
?
214 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 12

Accepted Solution

by:
kgerb earned 1000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

765 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