Hello All,
This might be very easy for some of you. I have a data sheet like below:
ID P1 P2 ... Pn
1 A
2 A B
3 B A .... C
.
.
So in each row there are different number of columns with values. Id like to arrange it into;
ID P Rank
1 A First
2 A First
2 B Last
3 B First
3 A 2
3 C Last
So the last column with a value will be labeled as last and the first as first and the rest with their ranks (relative column number to the first) or we can also say middle if it is easier to solve this way.
Many thanks for your help. If anything is not clear, Id love to explain more.
Cheers,
This might be very easy for some of you. I have a data sheet like below:
ID P1 P2 ... Pn
1 A
2 A B
3 B A .... C
.
.
So in each row there are different number of columns with values. Id like to arrange it into;
ID P Rank
1 A First
2 A First
2 B Last
3 B First
3 A 2
3 C Last
So the last column with a value will be labeled as last and the first as first and the rest with their ranks (relative column number to the first) or we can also say middle if it is easier to solve this way.
Many thanks for your help. If anything is not clear, Id love to explain more.
Cheers,