ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Removing Dashes (https://www.excelbanter.com/excel-discussion-misc-queries/260135-removing-dashes.html)

Jeanette

Removing Dashes
 
I wanted to know if anyone knew how to remove
dashes say from a SS# or a phone number
without retyping all the numbers?

Gary''s Student

Removing Dashes
 
Say your data is in A1. In another cell:

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

You can then copy this cell and paste/special/value back onto A1
--
Gary''s Student - gsnu201001


"Jeanette" wrote:

I wanted to know if anyone knew how to remove
dashes say from a SS# or a phone number
without retyping all the numbers?


Don Guillett[_2_]

Removing Dashes
 
editreplace

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Jeanette" wrote in message
...
I wanted to know if anyone knew how to remove
dashes say from a SS# or a phone number
without retyping all the numbers?




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

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