A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Data Encryption



 
 
Thread Tools Display Modes
  #1  
Old April 19th, 2010, 08:04 PM posted to microsoft.public.excel.worksheet.functions
Confused
external usenet poster
 
Posts: 498
Default Data Encryption

Is there a way to anonymize say a column of employee numbers in Excel? I want
it done in such a way that for each year of data the number is encrypted the
same way so i can use the encrypted value to look up data for that employee
without knowing who the person is? Thanks for any assistance you can provide.
  #2  
Old April 20th, 2010, 01:46 PM posted to microsoft.public.excel.worksheet.functions
JLatham
external usenet poster
 
Posts: 1,896
Default Data Encryption

What's the end purpose of this hiding/encrypting of the employee numbers?
Just to hide them from you, or to hide from other people viewing the
reports/output later?

In either case you could 'hide' them by building a separate sheet that has 2
columns:
a series of sequential numbers in one column (A) and the employee ID numbers
in a column to the right of that column, say B. The data would look
something like:
A B
1 1 Emp493
2 2 Emp201
3 3 Emp004

Then you can enter numbers from Column A to refer to an employee, and if you
need the actual employee number for use, it can be done with VLOOKUP as:
=VLOOKUP(X99,CryptoSheet!$A$1:$A500,2,False)
where X99 would hold one of the numbers from column A on that extra sheet
(which can even be hidden from view).

An even more robust formula would be:
=VLOOKUP(X99,INDIRECT("CryptoSheet!A1:B" & COUNTA(CryptoSheet!A:A)),2,FALSE)
which uses the count of entries in column A of the CryptoSheet to determine
what range to do the lookup for - so no maintenance to the formula(s) when
you add or remove employees from the list on that sheet.

If you need keep the real employee IDs invisible to other users that you
might distribute the workbook to, then put CryptoSheet in a workbook on your
computer only. That's going to result in: having to modify the formulas to
look in that other workbook for the lookup table, and getting "update links?"
prompt when opening the primary book which you'll have to decide on how to
deal with.

"Confused" wrote:

Is there a way to anonymize say a column of employee numbers in Excel? I want
it done in such a way that for each year of data the number is encrypted the
same way so i can use the encrypted value to look up data for that employee
without knowing who the person is? Thanks for any assistance you can provide.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:27 PM.


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