View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Umlas, Excel MVP Bob Umlas, Excel MVP is offline
external usenet poster
 
Posts: 320
Default Remove hyphens from SSN

first format the cells containing the SSN as text.
Bob Umlas
Excel MVP

"NH" wrote:

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)