ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Formating cells (https://www.excelbanter.com/excel-programming/334519-formating-cells.html)

Kenny M.

Formating cells
 

HI I have many cels which hold phone numbers like this:

(987) 876-545
(987) 876-545
....
(987) 876-545

I want to eliminate the symbols "( )" and "-"

There are more than 2000 rows so I dont want to do it by hand, any Sug?

thks


JavyD

Formating cells
 
Why dont you use a control find then replace the "("," )", "-"

"Kenny M." wrote:


HI I have many cels which hold phone numbers like this:

(987) 876-545
(987) 876-545
...
(987) 876-545

I want to eliminate the symbols "( )" and "-"

There are more than 2000 rows so I dont want to do it by hand, any Sug?

thks


Bob Phillips[_7_]

Formating cells
 
in an adjacent cell input

=SUBSTITUTE(SUBSTITUTE(A2,"(",""),")","")

copy down. Then copy this new column, EditPastespecialValue

then delete column A



--
HTH

Bob Phillips

"Kenny M." wrote in message
...

HI I have many cels which hold phone numbers like this:

(987) 876-545
(987) 876-545
...
(987) 876-545

I want to eliminate the symbols "( )" and "-"

There are more than 2000 rows so I dont want to do it by hand, any Sug?

thks





All times are GMT +1. The time now is 04:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com