Solved

Formatting a column of telephone numbers in Excel 2007

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
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 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.

705 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now