I have a dataset in this format
Person1, value1
Person1, value2
Person2, value3
Person2, value4
Person2, value5
but need it to look like this
Person1, value1, value2
Person2, value3, value4, value5
Because the values are variable a normal crosstab/pivot does not work and because the the person is variable a usual copy/paste transpose does not seem to work
I guess I need a little code/macro but that is beyond my abilities. Has anyone a solution to this?
Any help greatly appreciated
Les
Person1, value1
Person1, value2
Person2, value3
Person2, value4
Person2, value5
but need it to look like this
Person1, value1, value2
Person2, value3, value4, value5
Because the values are variable a normal crosstab/pivot does not work and because the the person is variable a usual copy/paste transpose does not seem to work
I guess I need a little code/macro but that is beyond my abilities. Has anyone a solution to this?
Any help greatly appreciated
Les