Hi All,
I got a project Requirement where i need to Transpose nad summarize the data, I tried doing it in Pivot, i could not get the output.
Can this be done thru the VBA
Output
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Risk/Complexity[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Easy[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Medium[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Difficult[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]High[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project1_Project4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Low[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Project2_Project6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Moderate[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project9[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Project7_Project8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Input
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Project[/TD]
[TD]Complex[/TD]
[TD]Risk[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD]Easy[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD]difficult[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 3[/TD]
[TD]Medium[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 4[/TD]
[TD]Easy[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 5[/TD]
[TD]Easy[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 6[/TD]
[TD]difficult[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 7[/TD]
[TD]difficult[/TD]
[TD]Moderate[/TD]
[/TR]
[TR]
[TD]Project 8[/TD]
[TD]difficult[/TD]
[TD]Moderate[/TD]
[/TR]
[TR]
[TD]Project 9[/TD]
[TD]Medium[/TD]
[TD]Moderate[/TD]
[/TR]
</tbody>[/TABLE]
I got a project Requirement where i need to Transpose nad summarize the data, I tried doing it in Pivot, i could not get the output.
Can this be done thru the VBA
Output
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Risk/Complexity[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Easy[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Medium[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Difficult[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]High[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project1_Project4[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project3[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Low[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project5[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Project2_Project6[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Moderate[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][/TD]
[TD][TABLE="width: 64"]
<tbody>[TR="class: grid"]
[TD="width: 64"]Project9[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 117"]
<tbody>[TR="class: grid"]
[TD="width: 117"]Project7_Project8[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
Input
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Project[/TD]
[TD]Complex[/TD]
[TD]Risk[/TD]
[/TR]
[TR]
[TD]Project 1[/TD]
[TD]Easy[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 2[/TD]
[TD]difficult[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 3[/TD]
[TD]Medium[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 4[/TD]
[TD]Easy[/TD]
[TD]High[/TD]
[/TR]
[TR]
[TD]Project 5[/TD]
[TD]Easy[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 6[/TD]
[TD]difficult[/TD]
[TD]Low[/TD]
[/TR]
[TR]
[TD]Project 7[/TD]
[TD]difficult[/TD]
[TD]Moderate[/TD]
[/TR]
[TR]
[TD]Project 8[/TD]
[TD]difficult[/TD]
[TD]Moderate[/TD]
[/TR]
[TR]
[TD]Project 9[/TD]
[TD]Medium[/TD]
[TD]Moderate[/TD]
[/TR]
</tbody>[/TABLE]
Last edited: