Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a string imported from a ".csv file (phone number) as follows. "=1
123-456-7890). I need to end up with a string formated as a # as followes (11234567890). Can someone help this old man with a fancy hi-tech way of doen this. :-( thanks -- rustyrunrite |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
In cell A1
1123-456-7890 In cell B1 enter formula =--SUBSTITUTE(A1,"-",) If this post helps click Yes --------------- Jacob Skaria "Rusty" wrote: I have a string imported from a ".csv file (phone number) as follows. "=1 123-456-7890). I need to end up with a string formated as a # as followes (11234567890). Can someone help this old man with a fancy hi-tech way of doen this. :-( thanks -- rustyrunrite |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you really imported the data as formulas, then you may need to select that
range and do: Edit|Copy followed by Edit|paste special|Values After that, you could select the range to fix (a single column???) And do multiple edit|replace's One to replace the hyphens with nothing one to replace the ('s with nothing one to replace the )'s with nothing (Repeat for any other character you want to remove) After you've removed all the "invalid" characters, you could format the cells: Format|cells|number tab Custom category: type: (00000000000) (or whatever format you like) Rusty wrote: I have a string imported from a ".csv file (phone number) as follows. "=1 123-456-7890). I need to end up with a string formated as a # as followes (11234567890). Can someone help this old man with a fancy hi-tech way of doen this. :-( thanks -- rustyrunrite -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Converting a time format to a String format in Excel | Excel Discussion (Misc queries) | |||
Format text string | Excel Discussion (Misc queries) | |||
Reverse and format string | Excel Discussion (Misc queries) | |||
Format amount in string | Excel Discussion (Misc queries) | |||
Date format in string | Excel Discussion (Misc queries) |