sir need to know one particular day three types of sales like closed,deliver,cancelled in huge sheet
[TABLE="width: 243"]
<colgroup><col span="3"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]name [/TD]
[TD]status[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Nancy[/TD]
[TD]delivered[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Makbool[/TD]
[TD]delivered[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]VARADARAYA[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Pradhyum[/TD]
[TD]cancelled[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]A[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]KISHORE KUMAR UBRANGALA[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]K Prakash[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]N VISWANATHAN[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]K Prakash[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]Prakash[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]Wasim[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ragul[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHUVANESHWARI[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHUVANESHWARI[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]Manu[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHASKAR[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ragul[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ARULMOLI[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]MAHESH[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]SRINIVASAN A[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]Dr Gopalakrishna[/TD]
[TD]Closed[/TD]
[/TR]
</tbody>[/TABLE]
and result should come in this format
[TABLE="width: 324"]
<colgroup><col span="4"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]cancelled[/TD]
[TD]delivered[/TD]
[TD]closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
this is just example i need to clear huge sheet
kindly let me know if possible
[TABLE="width: 243"]
<colgroup><col span="3"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]name [/TD]
[TD]status[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Nancy[/TD]
[TD]delivered[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Makbool[/TD]
[TD]delivered[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]VARADARAYA[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]Pradhyum[/TD]
[TD]cancelled[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]A[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]KISHORE KUMAR UBRANGALA[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]K Prakash[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]N VISWANATHAN[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]K Prakash[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]Prakash[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]Wasim[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ragul[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHUVANESHWARI[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHUVANESHWARI[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]Manu[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]BHASKAR[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ragul[/TD]
[TD]Cancelled[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]ARULMOLI[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]MAHESH[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]SRINIVASAN A[/TD]
[TD]Closed[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]Dr Gopalakrishna[/TD]
[TD]Closed[/TD]
[/TR]
</tbody>[/TABLE]
and result should come in this format
[TABLE="width: 324"]
<colgroup><col span="4"></colgroup><tbody>[TR]
[TD]date[/TD]
[TD]cancelled[/TD]
[TD]delivered[/TD]
[TD]closed[/TD]
[/TR]
[TR]
[TD]29 /1/2018[/TD]
[TD]1[/TD]
[TD]2[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]28 /1/2018[/TD]
[TD]2[/TD]
[TD]0[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]27 /1/2018[/TD]
[TD]5[/TD]
[TD]0[/TD]
[TD]3
[/TD]
[/TR]
</tbody>[/TABLE]
this is just example i need to clear huge sheet
kindly let me know if possible