Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formating cells stremetzky Excel Worksheet Functions 3 May 25th 07 10:30 AM
conditional formating cells i Excel based on other cells values Elias Petursson Excel Worksheet Functions 3 May 23rd 06 06:45 PM
Help in formating cells ExcelNubee Excel Worksheet Functions 1 March 23rd 06 02:19 AM
Formating #VALUE! cells Diane Alsing Excel Discussion (Misc queries) 4 February 9th 05 07:36 PM
Formating Cells in VBA Greg Bloom Excel Programming 2 September 23rd 03 02:35 AM


All times are GMT +1. The time now is 07:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"