<tbody>
[TD="bgcolor: #CACACA, align: center"]1[/TD]
[TD="align: center"]SORT[/TD]
[TD="align: center"]ITEM[/TD]
[TD="align: center"]help1[/TD]
[TD="align: center"]Value[/TD]
[TD="align: center"]HELP2[/TD]
[TD="align: center"]A1[/TD]
[TD="align: center"]15[/TD]
[TD="bgcolor: #CACACA, align: center"]2[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A1[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]B1[/TD]
[TD="align: center"]12[/TD]
[TD="bgcolor: #CACACA, align: center"]3[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A2[/TD]
[TD="align: center"]14[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]C1[/TD]
[TD="align: center"]13[/TD]
[TD="bgcolor: #CACACA, align: center"]4[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A1[/TD]
[TD="align: center"]15[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]A2[/TD]
[TD="align: center"]14[/TD]
[TD="bgcolor: #CACACA, align: center"]5[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]A3[/TD]
[TD="align: center"]19[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]B2[/TD]
[TD="align: center"]17[/TD]
[TD="bgcolor: #CACACA, align: center"]6[/TD]
[TD="align: center"]TOTAL[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="align: center"]C2[/TD]
[TD="align: center"]18[/TD]
[TD="bgcolor: #CACACA, align: center"]7[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B2[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]A3[/TD]
[TD="align: center"]19[/TD]
[TD="bgcolor: #CACACA, align: center"]8[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B1[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]B3[/TD]
[TD="align: center"]11[/TD]
[TD="bgcolor: #CACACA, align: center"]9[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B3[/TD]
[TD="align: center"]11[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]C3[/TD]
[TD="align: center"]20[/TD]
[TD="bgcolor: #CACACA, align: center"]10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B2[/TD]
[TD="align: center"]17[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]11[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]B1[/TD]
[TD="align: center"]12[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]12[/TD]
[TD="align: center"]TOTAL[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]13[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C2[/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]14[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C3[/TD]
[TD="align: center"]20[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]15[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C2[/TD]
[TD="align: center"]18[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]16[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]C1[/TD]
[TD="align: center"]13[/TD]
[TD="align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]17[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="bgcolor: #FFFF00, align: center"]0[/TD]
[TD="bgcolor: #CACACA, align: center"]18[/TD]
[TD="align: center"]0[/TD]
[TD="align: center"]0[/TD]
</tbody>
i want every total will sum automatically, for the logic i add column E to help the calculation. so each total will ( subtotal at column D ) and ( minus from subtotal at column E * 2 ).
but the result is not showing what i want...