Hello ,
I am trying to create one variable (type2) from multiple rows per ID using variable type. I want to covert a table like this one:
To:
Where type2 is:
If type is always A then type2=A;
If type is always B then type2=B;
If type is a combination of A and B then type2=C;
Thanks