![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Apr 2002
Posts: 66
|
I'm sure this has been asked before but can't seem to find with search .....
I have a long column of telephone numbers like so: 314 6666666, which I want to show like so: 314 666-6666. Tried selecting the column and applying the "Custom" format: ###_###-#### and the "Special" format "Phone Number" Neither has any effect. What am I doing wrong? Thanks. |
|
|
|
|
|
#2 |
|
New Member
Join Date: Feb 2002
Posts: 16
|
Not sure what the problem with the formats but if your number was in A1 then you could try:
=left(a1,3)&" "&mid(a1,5,3)&"-"&right(a1,4) |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Mar 2002
Posts: 175
|
Hi Ludovico,
putting the space in the original number makes the number into a text field. If you remove the spaces, you can format at will! Rgds, Mike |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|