Thread
:
Remove hyphens from SSN
View Single Post
#
4
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
Remove hyphens from SSN
try this in a helper column. Could be a macro.
=SUBSTITUTE(SUBSTITUTE(a3,"-",""),"-","")
--
Don Guillett
SalesAid Software
"NH" wrote in message
...
Please help...
Is there a way to remove hyphen from SSN without stripping out the leading
zeros?
I used the replace function under the Edit menu -- Find "-" and Replace
with
"". It worked on some SSNs but didn't on the SSNs with leading zeros.
001-23-4567 ==1234567 (expected result = 001234567)
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett