Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
I have telephone numbers that are formatted as (###) ###-####. I need a
formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
I have telephone numbers that are formatted as (###) ###-####.
I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Give this formula a try... =SUBSTITUTE(IF(LEFT(F1,1)="(",REPLACE(F1,1,1,""),S UBSTITUTE(F1," (","-")),") ","-") Rick |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," (","-"),") ","-"),"(","")
"Sherry" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
That was very helpful. I accidentally left out one thing... for telephone
numbers that are formatted as "1 (###) ###-####", the formula needs to remove the "1"1 at the beginning too. Sorry for the additional trouble. Thanks. "Rick Rothstein (MVP - VB)" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Give this formula a try... =SUBSTITUTE(IF(LEFT(F1,1)="(",REPLACE(F1,1,1,""),S UBSTITUTE(F1," (","-")),") ","-") Rick |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
That was very helpful. I accidentally left out one thing... for telephone
numbers that are formatted as "1 (###) ###-####", the formula needs to remove the "1"1 at the beginning too. Sorry for the additional trouble. Thanks. "Teethless mama" wrote: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," (","-"),") ","-"),"(","") "Sherry" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
That was very helpful. I accidentally left out one thing... for telephone
numbers that are formatted as "1 (###) ###-####", the formula needs to remove the "1"1 at the beginning too. Sorry for the additional trouble. Thanks. "Teethless mama" wrote: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," (","-"),") ","-"),"(","") "Sherry" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
How do I make it remove
the "1" at the beginning of the phone number too. "Teethless mama" wrote: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," (","-"),") ","-"),"(","") "Sherry" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
telephone number format change in Excel
I hope you have not been waiting since June for an answer !! <bg
As your "numbers" are really text values, you can use this formula to remove the 1<space from the beginning of the phone number (assume it is in A1): =RIGHT(A1,LEN(A1)-2) Hope this helps. Pete On Dec 14, 1:00 am, Sherry wrote: How do I make it remove the "1" at the beginning of the phone number too. "Teethless mama" wrote: =SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1," (","-"),") ","-"),"(","") "Sherry" wrote: I have telephone numbers that are formatted as (###) ###-####. I need a formula to change the format to ###-###-####. Also need the same for telephone numbers that are formatted as # (###) ###-####. Please help. - Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i remove telephone number hyphens from a list in Excel? | Excel Discussion (Misc queries) | |||
is there a template for Excel for a telephone format? | Excel Discussion (Misc queries) | |||
How do I change the default number format in excel? | Excel Worksheet Functions | |||
Format the Cell into a telephone number but using country code | Excel Discussion (Misc queries) | |||
Telephone number format | Excel Discussion (Misc queries) |