W
web1
Hi,
I have a dataset that is organized in rows and I need it transposed to
columns based on like/similar data in specific row fields (ID in the
example). For example
ID Quest Answer
1 Q1 A1
1 Q2 A2
2 Q1 A1
Desired result
=========
ID Q1 Q2
1 A1 A2
2 A1
The actual table is 1000's of rows. The number of questions and their
answers would vary by id. Can this be done with arrays? Any VBA code
would be greatly appreciated.
Thanks,
Manish
I have a dataset that is organized in rows and I need it transposed to
columns based on like/similar data in specific row fields (ID in the
example). For example
ID Quest Answer
1 Q1 A1
1 Q2 A2
2 Q1 A1
Desired result
=========
ID Q1 Q2
1 A1 A2
2 A1
The actual table is 1000's of rows. The number of questions and their
answers would vary by id. Can this be done with arrays? Any VBA code
would be greatly appreciated.
Thanks,
Manish