Bob De Caux wrote:I presume this is in Excel? If you divide everyone's hourly wage by 1000, add a random number x and then format the column as Date, everyone's entry will just show the same date, which you can choose via x (e.g x = 41,000 gives everyone the date 01/04/2012). Pretty unlikely anyone would try formatting back to number unless they knew about it, but you can do it whenever you need to recover the info.
Sorry no, it's a column in a database table.
Jim's idea has two main negatives - it's difficult to encode encryption/decryption in a single line, plus it's also fairly apparent from the length that one person earns more than another. FFS, what the hell were you thinking?
I quite like extending Coon's idea to encrypting x with the formula ax+b, where a & b could be the 2nd and 5th (for example) characters of the logon. That will still leave me with a simple single line formula for both encryption and decryption, and I reckon a suitably encrypted set of data such that anybody stumbling upon it wouldn't be able to see anybody's hourly rate, or whether person A earned more than person B.
Cheers guys. Except Jim.