Sample:
I have count number max values by Type
Table:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]Name[/TD]
[TD="width: 64"]Type[/TD]
[TD="width: 64"]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]67[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]88[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]35[/TD]
[/TR]
[TR]
[TD]f[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]g[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]123[/TD]
[/TR]
[TR]
[TD]h[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]178[/TD]
[/TR]
[TR]
[TD]i[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]j[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]k[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]198[/TD]
[/TR]
[TR]
[TD]l[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]m[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]256[/TD]
[/TR]
[TR]
[TD]n[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]248[/TD]
[/TR]
[TR]
[TD]o[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]180[/TD]
[/TR]
</tbody>[/TABLE]
________________________
Result:
[TABLE="width: 144"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Count(Max)[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
---------------------------
Thx
I have count number max values by Type
Table:
[TABLE="width: 192"]
<tbody>[TR]
[TD="width: 64"]Name[/TD]
[TD="width: 64"]Type[/TD]
[TD="width: 64"]Value[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]b[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]67[/TD]
[/TR]
[TR]
[TD]c[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]100[/TD]
[/TR]
[TR]
[TD]d[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]88[/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]35[/TD]
[/TR]
[TR]
[TD]f[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]g[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]123[/TD]
[/TR]
[TR]
[TD]h[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]178[/TD]
[/TR]
[TR]
[TD]i[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]j[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]k[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]198[/TD]
[/TR]
[TR]
[TD]l[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]300[/TD]
[/TR]
[TR]
[TD]m[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]256[/TD]
[/TR]
[TR]
[TD]n[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]248[/TD]
[/TR]
[TR]
[TD]o[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]180[/TD]
[/TR]
</tbody>[/TABLE]
________________________
Result:
[TABLE="width: 144"]
<tbody>[TR]
[TD]Type[/TD]
[TD]Count(Max)[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD="align: right"]2[/TD]
[/TR]
[TR]
[TD="align: right"]2[/TD]
[TD="align: right"]3[/TD]
[/TR]
[TR]
[TD="align: right"]3[/TD]
[TD="align: right"]1[/TD]
[/TR]
</tbody>[/TABLE]
---------------------------
Thx