Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mediazoo
 
Posts: n/a
Default how do i remove telephone number hyphens from a list in Excel?

I have a long list of telephone numbers in an Excel spreadsheet that i need
to remove the hyphons from. Do you have a quick formula for doing this?
  #2   Report Post  
CLR
 
Posts: n/a
Default how do i remove telephone number hyphens from a list in Excel?

One way is to highlight the column, then do Edit Replace put - in the
"Replace" box and leave the "replace with" box empty, then press ReplaceAll


Vaya con Dios,
Chuck, CABGx3


"Mediazoo" wrote:

I have a long list of telephone numbers in an Excel spreadsheet that i need
to remove the hyphons from. Do you have a quick formula for doing this?

  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default how do i remove telephone number hyphens from a list in Excel?

=SUBSTITUTE(A1,"-","")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Mediazoo" wrote in message
...
I have a long list of telephone numbers in an Excel spreadsheet that i

need
to remove the hyphons from. Do you have a quick formula for doing this?



  #4   Report Post  
SteveG
 
Posts: n/a
Default how do i remove telephone number hyphens from a list in Excel?


If the cells are formatted using the special Phone Number format

[<=9999999]###-####;(###) ###-####

and assuming there is 3 digit area code so your numbers currently look
like:

(781) 555-4444

You can change the format to:

#######

This will result in 7815554444.

If you are not using an area code 555-4444 it will result in 5554444

Just select the entire column, change the cell format and they should
all change.

Not sure how to do it if they were not formatted as the Special Phone
Number format.


Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=482002

  #5   Report Post  
SteveG
 
Posts: n/a
Default how do i remove telephone number hyphens from a list in Excel?


If not in Special Phone number format for number including area code
(781-575-5555) use:

=LEFT(J14,3)&MID(J14,5,3)&RIGHT(J14,4)

If no area code then:

+LEFT(J14,3)&RIGHT(J14,4)

J14 represents the cell with the current hyphenated phone number in
it.

Cheers,

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=482002

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
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 06:55 PM
How can I get Excel to find the first number in a list greater tha krowlan Excel Worksheet Functions 3 October 27th 05 06:15 PM
TRYING TO SET UP EXCEL SPREADSHEET ON MY COMPUTER MEGTOM New Users to Excel 5 October 27th 05 03:06 AM
Remove drop-down list in Excel cdeldegan Excel Discussion (Misc queries) 4 October 21st 05 11:14 PM
convert text-format number to number in excel 2000%3f Larry Excel Discussion (Misc queries) 1 July 29th 05 08:18 PM


All times are GMT +1. The time now is 08:27 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"