Enter the first formula in cell A4 with Shift+Ctrl+Enter and copy across, then enter the second one with Shift+Ctrl+Enter in cell B5 and copy across.
<colgroup><col style="font-weight:bold; width:30px; "><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"><col style="width:39px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]48[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]50[/TD]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]5[/TD]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]95[/TD]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]48[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]95[/TD]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="align: right"]5[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]20[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]40[/TD]
[TD="align: right"]48[/TD]
[TD="align: right"]50[/TD]
[TD="align: right"]58[/TD]
[TD="align: right"]65[/TD]
[TD="align: right"]75[/TD]
[TD="align: right"]85[/TD]
[TD="align: right"]95[/TD]
</tbody>