Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Is there a way to convert an existing phone number format [+1 (###) ###-###]
to this type of format ###-###-#### without rekeying the numbewrs |
#2
![]() |
|||
|
|||
![]()
I assume you meant [+1 (###) ###-####]
If this is a text format and you want it an a numerical format try =value(mid(A1,6,3)&mid(A1,10,3)&mid(A1,15,4)) and set the custom format as 000-000-0000 You may have to play with the start points in the Mid () I can't tell whether there are some spaces there If you want a text output try =mid(A1,6,3) & "-" & mid(A1,10,3) & "-" & mid(A1,15,4)) with the same comment on starting place. "Mikey54412" wrote: Is there a way to convert an existing phone number format [+1 (###) ###-###] to this type of format ###-###-#### without rekeying the numbewrs |
#3
![]() |
|||
|
|||
![]()
I meant to mention you might want to check whether it is aready a number with
custom formating to create the output. "Mikey54412" wrote: Is there a way to convert an existing phone number format [+1 (###) ###-###] to this type of format ###-###-#### without rekeying the numbewrs |
#4
![]() |
|||
|
|||
![]()
Select all the phone numbers. Using the Replace function, "Find" all the
[ ], +, ( ), 1s, and space characters, and replace them with nothing, leaving you with ### ###-####. As you replace, you will have to find and replace these characters one at a time except for [+1 (, which occur in sequence. Then, you need another hyphen between ### and ###. Go to Format-Cells, Number tab, and select Custom (last entry on list). In the dialog box to the right type ###-###-####. "Mikey54412" wrote in message ... Is there a way to convert an existing phone number format [+1 (###) ###-###] to this type of format ###-###-#### without rekeying the numbewrs |
#5
![]() |
|||
|
|||
![]()
Be careful with the 1s.
Maybe getting all the characters at the beginning would be quicker: Select your range edit|replace what: [+1 ( <-- open square bracket, plus, one, spacebar, open paren with: (leave blank) replace all Richard Neville wrote: Select all the phone numbers. Using the Replace function, "Find" all the [ ], +, ( ), 1s, and space characters, and replace them with nothing, leaving you with ### ###-####. As you replace, you will have to find and replace these characters one at a time except for [+1 (, which occur in sequence. Then, you need another hyphen between ### and ###. Go to Format-Cells, Number tab, and select Custom (last entry on list). In the dialog box to the right type ###-###-####. "Mikey54412" wrote in message ... Is there a way to convert an existing phone number format [+1 (###) ###-###] to this type of format ###-###-#### without rekeying the numbewrs -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Maximum Number of Cell Formats | Excel Discussion (Misc queries) | |||
Conditional Number Formats | Excel Discussion (Misc queries) | |||
Phone number formats | Excel Discussion (Misc queries) | |||
Phone Dialer | Excel Discussion (Misc queries) | |||
Concatenate two halves of a phone number | Excel Worksheet Functions |