ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I delete dashes from a phone number xxx-xxx-xxxx in Excel? (https://www.excelbanter.com/excel-worksheet-functions/131076-how-do-i-delete-dashes-phone-number-xxx-xxx-xxxx-excel.html)

ARADER

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?
 
How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?

Rowland

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?
 


With a formula its

SUBSTITUTE(A1,"-","")

where xxx-xxx-xxxx is in cell A1


ARADER wrote:
How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?


Dave Peterson

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?
 
Select the range
edit|replace
what: - (dash)
with: (leave blank)
replace all

You may want to give the number a custom format: 0000000000


ARADER wrote:

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?


--

Dave Peterson

Gord Dibben

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?
 
EditReplace should do it.

Just make note that if first digit is a zero, it will go missing.

049-123-4567 will change to 491234567


Gord Dibben MS Excel MVP

On Fri, 16 Feb 2007 09:40:33 -0800, ARADER
wrote:

How do I delete dashes from a phone number xxx-xxx-xxxx in Excel?




All times are GMT +1. The time now is 08:06 AM.

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