Hello everyone.
I have a dataset where the two(or more) variables have the same values. I want to create a variable that would just indicate one distinct values. I tried to find an easy way but couldn't except doing it manually in excel. Could you please give me an advice how to do it? The sample of data looks like below.
To explain, I want to create the variable "Major_1997" that would just have one distinct value from "Major_1997_1" and "Major_1997_2" since they both have same value. I hope what I explained is clear. Thank you very much in advance for your help!
I have a dataset where the two(or more) variables have the same values. I want to create a variable that would just indicate one distinct values. I tried to find an easy way but couldn't except doing it manually in excel. Could you please give me an advice how to do it? The sample of data looks like below.
To explain, I want to create the variable "Major_1997" that would just have one distinct value from "Major_1997_1" and "Major_1997_2" since they both have same value. I hope what I explained is clear. Thank you very much in advance for your help!
ID | Major_1997_1 | Major_1997_2 | Major_1997 |
1 | 3 | 3 | 3 |
Comment