Hello everyone,
I have a very simple transpose problem that I can't quite figure out. The data I have is currently in this format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Response[/TD]
[/TR]
[TR]
[TD]Respondent 1[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]Respondent 2[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]
I want to transpose it so it is in the following format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Response 1[/TD]
[TD]Response 2[/TD]
[TD]Response 4[/TD]
[TD]Response 5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Respondent 1[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Respondent 2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I know I can easily do this copying and pasting but the number of respondents is almost 2,000 and it wouldn't be possible to individually paste each respondent's responses and applying a transpose. If anyone has any ideas as to how to do this quickly, I'd be grateful.
I have a very simple transpose problem that I can't quite figure out. The data I have is currently in this format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Response[/TD]
[/TR]
[TR]
[TD]Respondent 1[/TD]
[TD]X[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Y[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Z[/TD]
[/TR]
[TR]
[TD]Respondent 2[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]D[/TD]
[/TR]
</tbody>[/TABLE]
I want to transpose it so it is in the following format:
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Response 1[/TD]
[TD]Response 2[/TD]
[TD]Response 4[/TD]
[TD]Response 5[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Respondent 1[/TD]
[TD]X[/TD]
[TD]Y[/TD]
[TD]Z[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Respondent 2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I know I can easily do this copying and pasting but the number of respondents is almost 2,000 and it wouldn't be possible to individually paste each respondent's responses and applying a transpose. If anyone has any ideas as to how to do this quickly, I'd be grateful.