Ya, sorry about that, that did not work with the defined names. But if you used formulas in the cells, maybe:
<table style="width: 624pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="832"><colgroup><col style="width: 48pt;" span="10" width="64"><col style="width: 48pt;" width="64"><col style="width: 48pt;" span="2" width="64"></colgroup><tbody><tr style="height: 14.4pt;" height="19"><td style="border: 0.5pt solid windowtext; background-color: transparent; width: 48pt; height: 14.4pt;" class="xl65" align="right" height="19" width="64">10</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" align="right" width="64">20</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" align="right" width="64">30</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" align="right" width="64">40</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: transparent; width: 48pt;" class="xl65" width="64">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border: medium none rgb(212, 208, 200); background-color: transparent; height: 14.4pt;" height="19">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border: 0.5pt solid windowtext; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">10</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: rgb(204, 255, 204);" class="xl66" align="right">20</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: rgb(204, 255, 204);" class="xl66" align="right">30</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: rgb(204, 255, 204);" class="xl66" align="right">40</td><td style="border-style: solid solid solid none; border-color: windowtext; border-width: 0.5pt 0.5pt 0.5pt medium; background-color: rgb(204, 255, 204);" class="xl66" align="right">0</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border: medium none rgb(212, 208, 200); background-color: transparent; height: 14.4pt;" height="19">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border: 0.5pt solid windowtext; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">10</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;" colspan="7">Formula in A3 and copy over: =INDEX($A$1:$M$1,COLUMNS($A3:A3)*3-2)</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">20</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;" colspan="7">Formula in A5 and copy down: =INDEX($A$1:$M$1,ROWS(A$5:A5)*3-2)</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">30</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">40</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr><tr style="height: 14.4pt;" height="19"><td style="border-style: none solid solid; border-color: windowtext; border-width: medium 0.5pt 0.5pt; background-color: rgb(204, 255, 204); height: 14.4pt;" class="xl66" align="right" height="19">0</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td><td style="border: medium none rgb(212, 208, 200); background-color: transparent;">
</td></tr></tbody></table>