How to de identify data in excel. Proc sort dataranby ran. Generate the unique random number run. Add the anonymous code.
My rule of thumb however is that if you are going to analyze sort reorganize data do it in access cant mix up cells there use excel for bigger calculations and presentation. Select a blank cell that you will place the extracted data type this formula ifrowsa5a5c2indexsheet1a2a22smallifsheet1a2a22a2sheet1a2a22b2rowsheet1a2a22 rowsheet1a21rowsa5a5 press shift ctrl enter keys and drag auto fill handle over columns and rows to extract all data until blank cells or zero values appear. How to use the lookup function in excel.
Proc sort data psanodupkey out psauniby ssn run. If you need a unique identifier other than the members id number just create a new column and make it a number 1 to whatever. If firstranthen studyidstudyid 1.
To create such an identifier you concatenate add combine data from two or more cells using the ampersand. Duplicate the column containing the names to the column h for instance. Replace the original names.
Select the macro 3. Vlookup the vlookup or vertical lookup function is used when data is listed in columns. You can do this with a traditional.
Right now each patient is identified with their medical record number. Do you know of another method that would be more efficient and less prone to human error. But that would take quite a while.
We could go and manually input an 001 next to any record with the medical record xxxxxxxxx and 002 for any medical record yyyyyyyyy. This function searches for a value in the left most column and matches it with data in a specified column in the same row. You can use vlookup to find data in a sorted or unsorted table.