Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do I mask a Social Security Number ###-##-nnnn?

I am doing verification forms and it includes ss#. Because of identify
thief, I want to mask all of it except for the last four digits. I am using
a spreadsheet as my database. I have the ss# entered in one column and would
like to set the next column with the masked number.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do I mask a Social Security Number ###-##-nnnn?

How to Mask a Social Security Number in Excel
  1. Select the column that contains the Social Security Numbers that you want to mask.
  2. Right-click on the selected column and choose "Format Cells" from the drop-down menu.
  3. In the "Format Cells" dialog box, select the "Custom" category.
  4. In the "Type" field, enter the following custom format:
    Formula:
    "###-##-0000" 
    . This format will display the first five digits of the Social Security Number as asterisks and the last four digits as plain numbers.
  5. Click "OK" to apply the custom format to the selected column.

Now, the Social Security Numbers in the selected column will be masked, except for the last four digits. You can copy and paste these masked numbers into the next column to create a separate column with the masked numbers.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default How do I mask a Social Security Number ###-##-nnnn?

Ed,

With the SSN in A2:

="###-##-" & RIGHT(A2,4)

But then, if you don't really need the SSN, copy the formulas, paste values, then delete the
original SSN

--
HTH,
Bernie
MS Excel MVP


"Ed H" <Ed wrote in message
...
I am doing verification forms and it includes ss#. Because of identify
thief, I want to mask all of it except for the last four digits. I am using
a spreadsheet as my database. I have the ss# entered in one column and would
like to set the next column with the masked number.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default How do I mask a Social Security Number ###-##-nnnn?

And to add to Bernie's warning...

Don't include the SSN's in any workbook you share with others--even if you put
them in a hidden column or a hidden worksheet.

Excel's protection isn't made for protecting this kind of thing. It's made to
stop inadvertent typing errors (stopping people from overwriting a formula).

Ed H wrote:

I am doing verification forms and it includes ss#. Because of identify
thief, I want to mask all of it except for the last four digits. I am using
a spreadsheet as my database. I have the ss# entered in one column and would
like to set the next column with the masked number.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Social Security Number formatting Boo Excel Discussion (Misc queries) 7 September 12th 06 05:10 PM
last four digits of a social security number elli Excel Worksheet Functions 2 October 25th 05 09:01 PM
format social security number Kristy Excel Worksheet Functions 2 September 9th 05 04:13 PM
Social Security Number montagu Excel Discussion (Misc queries) 3 June 27th 05 05:09 PM
Social Security Number format Jean Excel Worksheet Functions 1 March 7th 05 09:37 PM


All times are GMT +1. The time now is 06:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"