Format/Cells/Number/Special SSN
Note that this only adds dashes to the display.
You could use string functions to add them to the values, e.g.:
A1: 123456789
B1: =LEFT(A1,3) & "-" & MID(A1, 4, 2) & "-" & RIGHT(A1, 4)
In article <079001c2b2a5$3dc27fa0$89f82ecf@TK2MSFTNGXA01>, Brian
<alle...@bellsouth.net> wrote:
> Is there a preferred way to add dashes to a listing of
> SSNs without them that are contained in one column. I've
> tried using csv and prn saves along with re-imports
> without any luck yet.
>
> Thanks
Does an SSN have a set number of dashes at set places?
--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, UK
nick_...@btinternet.com
--- A courtesy email copy may have been sent
with this reply to the original poster please
follow up in the newsgroup only ---
"Brian" <alle...@bellsouth.net> wrote in message
news:079001c2b2a5$3dc27fa0$89f82ecf@TK2MSFTNGXA01...
Each SSN in the SSN column is listed as 123456789, but to
import them to a benefits system they must be in the
format 123-45-6789. There are over 3000 SSNs in this
column. Once I get them in this format, I can create the
csv file.
Thanks
>.
>
Thank you very much!
>.
>
Any idea why this would not work?
Thanks
>-----Original Message-----
>You could use
>
> Format/Cells/Number/Special SSN
>
>Note that this only adds dashes to the display.
>
>You could use string functions to add them to the values,
e.g.:
>
>A1: 123456789
>B1: =LEFT(A1,3) & "-" & MID(A1, 4, 2) & "-" & RIGHT
(A1, 4)
>
>
>In article <079001c2b2a5$3dc27fa0
$89f82ecf@TK2MSFTNGXA01>, Brian
><alle...@bellsouth.net> wrote:
>
>> Is there a preferred way to add dashes to a listing of
>> SSNs without them that are contained in one column.
I've
>> tried using csv and prn saves along with re-imports
>> without any luck yet.
>>
>> Thanks
>.
>
It works for me as written. The number being entered as text should be
fine, too, unless there are leading or trailing spaces in which case
you can use:
=LEFT(TRIM(A1),3) & "-" & MID(TRIM(A1), 4, 2) & ...
You could also use:
=TEXT(TRIM(A1), "000-00-0000")
In article <034601c2b2b1$70936aa0$d4f82ecf@TK2MSFTNGXA11>, Brian
Regards
Ken.......................
"Brian" <alle...@bellsouth.net> wrote in message
news:034601c2b2b1$70936aa0$d4f82ecf@TK2MSFTNGXA11...
Could the CONCATENATE function require any add-in's?
Thanks
>.
>
Thanks!
>.
>
But if you're willing to make them all numbers, you can select an empty cell,
copy it.
Then select your range of ssn's (whole column).
And Edit|Paste special|click on Add in the Operation.
Then you should be able to use the special format (SSN) or the =text() formula.
--
Dave Peterson
ec3...@msn.com
Regards
Ken.................
>.
>