I would like to recode data in Excel, i.e., making 5 become 1,
making 4 become 2, making 2 become 4, making 1 become 5, to change the
direction of negative-worded item questions.
Might anyone know how to accomplish this task in Excel?
I know SPSS can do this. But I need to recode the data in Excel
in order to do other tasks.
Thank you very much and look forward to your kind reply.
Please take care
Caroline
and do the recoding in the function body. To have it a bit
more flexible you may add default values in the function-header,
but I'm currently not aware, whether this is possible in Excel-
basic.
Gottfried Helms
=if(recode="Yes", 6-E2, E2).
"Recode" is a column that you would have to create to indicate rows
that need to be recoded. Those that are not recoed would be copied.
If your questions that need to be recoded are already in separate
columns, then just compute a new column with =6-OldColumn.
A very simple solution would be putting the function =ABS(A1-6) in a
new column, where "A1" refers to the cell with your old value.