View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett Don Guillett is offline
external usenet poster
 
Posts: 10,124
Default 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)