Link to home
Start Free TrialLog in
Avatar of Escanaba
EscanabaFlag for United States of America

asked on

Excel 2007 Formatting Column of Numbers to Social Security Format

Hello,

I have a column of numbers (column A) that are social security numbers and need to be in SSN format.  For some reason the custom SSN format is not working on these numbers.  They appear in SSN format in the column but on the formula/number bar they are missing the dashes.

Can someone provide a formula that will look at 9 digits of numbers and add the necessary dashes so its in SSN format?  Im guessing a left mid right string?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of NBVC
NBVC
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also select the cells as they are, and go to Format Cells.. Number.. Custom and set the custom format as:
000-000-000
This should insert the dashes for you, but leaves the underlying numbers exactly as they were.  On the sheet itself they will display correctly, but the formula bar will just show the "bare" number.