You could set up your table like this.
The same formula in cell A4 can be copied down in column A as well as the same formula in column H.
Formula in Cell A4:
=IF(MOD(ROW()-3,10)=0,A3+1,A3)
Formula in Cell H3:
=IF(MOD(ROW()-3,10)=0,D3-SUM(E3:G3),H2+D3-SUM(E3:G3))
Here is how it would look...
Excel 2003<table rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6" cellpadding="2.5px"><colgroup><col style="background-color: #E0E0F0" width="25px"><col><col><col><col><col><col><col><col></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th>
</th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th><th>H</th></tr></thead><tbody><tr><td style="color: #161120;text-align: center;">1</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td></tr><tr><td style="color: #161120;text-align: center;">2</td><td style="font-weight: bold;;">Date</td><td style="font-weight: bold;;">Col2</td><td style="font-weight: bold;;">Col3</td><td style="font-weight: bold;;">Val1</td><td style="font-weight: bold;;">Val2</td><td style="font-weight: bold;;">Val3</td><td style="font-weight: bold;;">Val4</td><td style="font-weight: bold;border-bottom: 1px solid black;;">Balance</td></tr><tr><td style="color: #161120;text-align: center;">3</td><td style="text-align: right;border-bottom: 1px solid black;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1906</td><td style="text-align: right;;">74</td><td style="text-align: right;;">73</td><td style="text-align: right;border-right: 1px solid black;;">94</td><td style="text-align: right;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;background-color: #FFFF99;;">1665</td></tr><tr><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;border-left: 1px solid black;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1631</td><td style="text-align: right;;">94</td><td style="text-align: right;;">26</td><td style="text-align: right;;">83</td><td style="text-align: right;border-top: 1px solid black;background-color: #FFFF99;;">3093</td></tr><tr><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;border-top: 1px solid black;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1268</td><td style="text-align: right;;">68</td><td style="text-align: right;;">77</td><td style="text-align: right;;">82</td><td style="text-align: right;background-color: #FFFF99;;">4134</td></tr><tr><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1966</td><td style="text-align: right;;">62</td><td style="text-align: right;;">60</td><td style="text-align: right;;">8</td><td style="text-align: right;background-color: #FFFF99;;">5970</td></tr><tr><td style="color: #161120;text-align: center;">7</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1528</td><td style="text-align: right;;">28</td><td style="text-align: right;;">32</td><td style="text-align: right;;">72</td><td style="text-align: right;background-color: #FFFF99;;">7366</td></tr><tr><td style="color: #161120;text-align: center;">8</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1739</td><td style="text-align: right;;">46</td><td style="text-align: right;;">88</td><td style="text-align: right;;">71</td><td style="text-align: right;background-color: #FFFF99;;">8900</td></tr><tr><td style="color: #161120;text-align: center;">9</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1789</td><td style="text-align: right;;">22</td><td style="text-align: right;;">89</td><td style="text-align: right;;">69</td><td style="text-align: right;background-color: #FFFF99;;">10509</td></tr><tr><td style="color: #161120;text-align: center;">10</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1449</td><td style="text-align: right;;">79</td><td style="text-align: right;;">47</td><td style="text-align: right;;">10</td><td style="text-align: right;background-color: #FFFF99;;">11822</td></tr><tr><td style="color: #161120;text-align: center;">11</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1620</td><td style="text-align: right;;">72</td><td style="text-align: right;;">68</td><td style="text-align: right;;">99</td><td style="text-align: right;background-color: #FFFF99;;">13203</td></tr><tr><td style="color: #161120;text-align: center;">12</td><td style="text-align: right;background-color: #CCFFCC;;">6/1/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1878</td><td style="text-align: right;;">50</td><td style="text-align: right;;">68</td><td style="text-align: right;;">47</td><td style="text-align: right;background-color: #FFFF99;;">14916</td></tr><tr><td style="color: #161120;text-align: center;">13</td><td style="text-align: right;background-color: #CCFFCC;;">6/2/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1161</td><td style="text-align: right;;">58</td><td style="text-align: right;;">16</td><td style="text-align: right;;">86</td><td style="text-align: right;background-color: #FFFF99;;">1001</td></tr><tr><td style="color: #161120;text-align: center;">14</td><td style="text-align: right;background-color: #CCFFCC;;">6/2/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1582</td><td style="text-align: right;;">49</td><td style="text-align: right;;">43</td><td style="text-align: right;;">84</td><td style="text-align: right;background-color: #FFFF99;;">2407</td></tr><tr><td style="color: #161120;text-align: center;">15</td><td style="text-align: right;background-color: #CCFFCC;;">6/2/2011</td><td style="text-align: right;;">
</td><td style="text-align: right;;">
</td><td style="text-align: right;;">1209</td><td style="text-align: right;;">61</td><td style="text-align: right;;">66</td><td style="text-align: right;;">80</td><td style="text-align: right;background-color: #FFFF99;;">3409</td></tr></tbody></table>
Sheet1
Let us know if this works for you.
Gary