[TABLE="class: grid, width: 100, align: center"]
<tbody>[TR]
[TD]Group 1[/TD]
[TD]P
[/TD]
[/TR]
[TR]
[TD]Group 1<strike></strike>
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]Group 2
[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]
A[/TD]
[/TR]
</tbody>[/TABLE]
I need Results, i have 1000 rows for 15 groups
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Group No
[/TD]
[TD]Count(P)
[/TD]
[TD]Count(A)[/TD]
[/TR]
[TR]
[TD]
Group 1[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]
Group 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Group 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Group 1 Counts (A) Count
Group 2
Group 3
<tbody>[TR]
[TD]Group 1[/TD]
[TD]P
[/TD]
[/TR]
[TR]
[TD]Group 1<strike></strike>
[/TD]
[TD]A
[/TD]
[/TR]
[TR]
[TD]Group 2
[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]
A[/TD]
[/TR]
[TR]
[TD]Group 3[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 2[/TD]
[TD]
P[/TD]
[/TR]
[TR]
[TD]Group 1[/TD]
[TD]
A[/TD]
[/TR]
</tbody>[/TABLE]
I need Results, i have 1000 rows for 15 groups
[TABLE="class: grid, width: 200"]
<tbody>[TR]
[TD]Group No
[/TD]
[TD]Count(P)
[/TD]
[TD]Count(A)[/TD]
[/TR]
[TR]
[TD]
Group 1[/TD]
[TD]2
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]
Group 2[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]
Group 3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Group 1 Counts (A) Count
Group 2
Group 3