so do you want a formula to give the last row in your table ?
[TABLE="width: 704"]
<colgroup><col width="64" span="11" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl22, width: 64"]Index[/TD]
[TD="class: xl22, width: 64"]Name[/TD]
[TD="class: xl22, width: 64"]NRIC[/TD]
[TD="class: xl22, width: 64"]Class[/TD]
[TD="class: xl22, width: 64"]EL[/TD]
[TD="class: xl22, width: 64"]MA[/TD]
[TD="class: xl22, width: 64"]CL[/TD]
[TD="class: xl22, width: 64"]ML[/TD]
[TD="class: xl22, width: 64"]TL[/TD]
[TD="class: xl22, width: 64"]HU[/TD]
[TD="width: 64"][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]1552[/TD]
[TD="class: xl22, width: 64"]John[/TD]
[TD="class: xl22, width: 64"]S1234[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl22, width: 64"]2[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]1552[/TD]
[TD="class: xl22, width: 64"]John[/TD]
[TD="class: xl22, width: 64"]S1234[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"]4[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]1552[/TD]
[TD="class: xl22, width: 64"]John[/TD]
[TD="class: xl22, width: 64"]S1234[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"]5[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]1552[/TD]
[TD="class: xl22, width: 64"]John[/TD]
[TD="class: xl22, width: 64"]S1234[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"] [/TD]
[TD="class: xl22, width: 64"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]7777[/TD]
[TD="class: xl22, width: 64"]bob[/TD]
[TD="class: xl22, width: 64"]s7654[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD][/TD]
[TD="align: right"]4[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]7777[/TD]
[TD="class: xl22, width: 64"]bob[/TD]
[TD="class: xl22, width: 64"]s7654[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]5[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]7777[/TD]
[TD="class: xl22, width: 64"]bob[/TD]
[TD="class: xl22, width: 64"]s7654[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]3[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]7777[/TD]
[TD="class: xl22, width: 64"]bob[/TD]
[TD="class: xl22, width: 64"]s7654[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="class: xl22, width: 64"]EL[/TD]
[TD="class: xl22, width: 64"]MA[/TD]
[TD="class: xl22, width: 64"]CL[/TD]
[TD="class: xl22, width: 64"]ML[/TD]
[TD="class: xl22, width: 64"]TL[/TD]
[TD="class: xl22, width: 64"]HU[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]1552[/TD]
[TD="class: xl22, width: 64"]John[/TD]
[TD="class: xl22, width: 64"]S1234[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl24"]2[/TD]
[TD="class: xl24"]4[/TD]
[TD="class: xl24"]5[/TD]
[TD="class: xl24"]0[/TD]
[TD="class: xl24"]0[/TD]
[TD="class: xl24"]3[/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl22, width: 64"]7777[/TD]
[TD="class: xl22, width: 64"]bob[/TD]
[TD="class: xl22, width: 64"]s7654[/TD]
[TD="class: xl23, width: 64"]04-Feb[/TD]
[TD="class: xl24"]0[/TD]
[TD="class: xl24"]4[/TD]
[TD="class: xl24"]0[/TD]
[TD="class: xl24"]5[/TD]
[TD="class: xl24"]3[/TD]
[TD="class: xl24"]0[/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 3"]the 2 under EL obtained by[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 5"]=SUMPRODUCT(($B$2:$B$8=$B12)*(E$2:E$8))[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD="colspan: 4"]easy to suppress the 0's if you need to[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]