Find string, do calculation

wibni

New Member
Joined
Jun 15, 2011
Messages
33
Hi,

I'm very new to Excel VBA and got a challenge which I'm not sure how to start with.
The below spreadsheet is generated by our financial system
The top 3 rows are code from the financial reporter.
Starting at row 6 is the output.

I need to do calculations with these results which can't be done by in a formula I'm afraid, so has to be VBA.

What I'm trying to achieve is to distribute the values under SiteBalance (column P) accross rows that belong in the same category.
For example the $20,914 in column P needs to be distributed accross all rows which have the same Country, AccSegment and Site.
So for that example it $20,914 needs to be divided by 6 because there are 6 accounts which match the criteria above (Country = 94, AccSegment = 5111 and Site = GGM).

Could someone please advise how to achieve this in VBA? i would actually prefer an Excel formula but don't think that can be done.

Any help much appreciated.


<table bordercolordark="#FFFFFF" border="1" bordercolor="#C0C0C0" cellpadding="2" cellspacing="0"> <tbody><tr> <td style="white-space: nowrap">E</td> <td style="white-space: nowrap">J</td> <td style="white-space: nowrap">K</td> <td style="white-space: nowrap">L</td> <td style="white-space: nowrap">M</td> <td style="white-space: nowrap">N</td> <td style="white-space: nowrap">O</td> <td style="white-space: nowrap">P</td> <td style="white-space: nowrap">Q</td> </tr> <tr> <td style="white-space: nowrap">AcctID</td> <td style="white-space: nowrap">Country</td> <td style="white-space: nowrap">AccSegment</td> <td style="white-space: nowrap">ManCo</td> <td style="white-space: nowrap">RigSite</td> <td style="white-space: nowrap">Site</td> <td style="white-space: nowrap">Current Period</td> <td style="white-space: nowrap">SiteBalance</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">#NAME?</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">\</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">AcctID</td> <td style="white-space: nowrap">Country</td> <td style="white-space: nowrap">AccSegment</td> <td style="white-space: nowrap">ManCo</td> <td style="white-space: nowrap">RigSite</td> <td style="white-space: nowrap">Site</td> <td style="white-space: nowrap">Current Period</td> <td style="white-space: nowrap">SiteBalance</td> <td style="white-space: nowrap">Reallocation</td> </tr> <tr> <td style="white-space: nowrap">10-4110-008</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-208,985</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4110-028</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-174,000</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4110-038</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">038</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-242,657</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4110-055</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-210,230</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4110-066</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-221,175</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4110-073</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4110</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">073</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-240,455</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4420-008</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4420</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-3,747</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4420-028</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4420</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-16,975</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4420-055</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4420</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-3,747</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4420-066</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4420</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-3,747</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-008</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-17,138</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-028</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-5,302</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-038</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">038</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-247</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-055</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-15,740</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-066</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-18,363</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-4430-073</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">4430</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">073</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">-5,272</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">94-5111-008-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">14,456</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-028-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">8,553</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-038-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">038</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">12,551</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-055-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">14,004</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-066-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">17,588</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-073-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">073</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">20,624</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">3485.66</td> </tr> <tr> <td style="white-space: nowrap">94-5111-GGM-910</td> <td style="white-space: nowrap">94</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">20,914</td> <td style="white-space: nowrap">20,914</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-5111-008</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">9,565</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-028</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">4,018</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-038</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">038</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">639</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-055</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">9,324</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-066</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">6,789</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-073</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">073</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">4,540</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">4990.16</td> </tr> <tr> <td style="white-space: nowrap">10-5111-GGM</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5111</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">29,941</td> <td style="white-space: nowrap">29,941</td> <td style="white-space: nowrap">
</td> </tr> <tr> <td style="white-space: nowrap">10-5113-008</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">008</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">1,052</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-028</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">028</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">442</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-038</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">038</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">268</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-055</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">055</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">1,052</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-066</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">066</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">747</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-073</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">073</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">579</td> <td style="white-space: nowrap">0</td> <td style="white-space: nowrap">548.83</td> </tr> <tr> <td style="white-space: nowrap">10-5113-GGM</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">5113</td> <td style="white-space: nowrap">10</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">GGM</td> <td style="white-space: nowrap">3,293</td> <td style="white-space: nowrap">3,293</td> <td style="white-space: nowrap">
</td> </tr> </tbody></table>
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Welcome to the MrExcel board!

Depending on your Excel version try either M7 or N7 copied down. Note that I have just hidden the irrelevant columns to keep my screen shot a bit smaller. The N7 formula will also work in Excel 2007+ but the M7 formula is a bit more efficient for those versions.

Excel Workbook
FGJLMN
6CountryAccSegmentSiteSiteBalanceReallocation 2007+Reallocation 2003-
7104110GGM000
8104110GGM000
9104110GGM000
10104110GGM000
11104110GGM000
12104110GGM000
13104420GGM000
14104420GGM000
15104420GGM000
16104420GGM000
17104430GGM000
18104430GGM000
19104430GGM000
20104430GGM000
21104430GGM000
22104430GGM000
23945111GGM03485.6666673485.666667
24945111GGM03485.6666673485.666667
25945111GGM03485.6666673485.666667
26945111GGM03485.6666673485.666667
27945111GGM03485.6666673485.666667
28945111GGM03485.6666673485.666667
29945111GGM20,914
30105111GGM04990.1666674990.166667
31105111GGM04990.1666674990.166667
32105111GGM04990.1666674990.166667
33105111GGM04990.1666674990.166667
34105111GGM04990.1666674990.166667
35105111GGM04990.1666674990.166667
36105111GGM29,941
37105113GGM0548.8333333548.8333333
38105113GGM0548.8333333548.8333333
39105113GGM0548.8333333548.8333333
40105113GGM0548.8333333548.8333333
41105113GGM0548.8333333548.8333333
42105113GGM0548.8333333548.8333333
43105113GGM3,293
44
Spread Value
 
Last edited:
Upvote 0
You could do it with just formulas...

<br /><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>E</th><th>J</th><th>K</th><th>L</th><th>M</th><th>N</th><th>O</th><th>P</th><th>Q</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">1</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">AcctID</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Country</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">AccSegment</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">ManCo</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">RigSite</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Site</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Current Period</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">SiteBalance</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;;"></td></tr><tr ><td style="color: #161120;text-align: center;">2</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;">#NAME?</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;;"></td></tr><tr ><td style="color: #161120;text-align: center;">3</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">\</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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></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;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">AcctID</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Country</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">AccSegment</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">ManCo</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">RigSite</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Site</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Current Period</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">SiteBalance</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">Reallocation</td></tr><tr ><td style="color: #161120;text-align: center;">7</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-008</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;;">10</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;;">4110</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-208,985</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;;">0</td><td style="text-align: right;border-top: 1px solid black;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-028</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;;">10</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;;">4110</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-174,000</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">9</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-038</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;;">10</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;;">4110</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;;">10</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;;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-242,657</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">10</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-055</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;;">10</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;;">4110</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-210,230</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">11</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-066</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;;">10</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;;">4110</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-221,175</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">12</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4110-073</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;;">10</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;;">4110</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;;">10</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;;">73</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-240,455</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">13</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4420-008</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;;">10</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;;">4420</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-3,747</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">14</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4420-028</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;;">10</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;;">4420</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-16,975</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">15</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4420-055</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;;">10</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;;">4420</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-3,747</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">16</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4420-066</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;;">10</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;;">4420</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-3,747</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">17</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-008</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;;">10</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;;">4430</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-17,138</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">18</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-028</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;;">10</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;;">4430</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-5,302</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">19</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-038</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;;">10</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;;">4430</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;;">10</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;;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-247</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">20</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-055</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;;">10</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;;">4430</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-15,740</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">21</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-066</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;;">10</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;;">4430</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-18,363</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">22</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-4430-073</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;;">10</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;;">4430</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;;">10</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;;">73</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">-5,272</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">0.00</td></tr><tr ><td style="color: #161120;text-align: center;">23</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-008-910</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;;">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;;">5111</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">14,456</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">24</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-028-910</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;;">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;;">5111</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">8,553</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">25</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-038-910</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;;">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;;">5111</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;;">10</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;;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">12,551</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">26</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-055-910</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;;">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;;">5111</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">14,004</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">27</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-066-910</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;;">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;;">5111</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">17,588</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-073-910</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;;">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;;">5111</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;;">10</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;;">73</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">20,624</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">3485.67</td></tr><tr ><td style="color: #161120;text-align: center;">29</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">94-5111-GGM-910</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;;">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;;">5111</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;;">10</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">20,914</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;;">20,914</td><td style="border-left: 1px solid black;;"></td></tr><tr ><td style="color: #161120;text-align: center;">30</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-008</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;;">10</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;;">5111</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">9,565</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">31</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-028</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;;">10</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;;">5111</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">4,018</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">32</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-038</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;;">10</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;;">5111</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;;">10</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;;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">639</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">33</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-055</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;;">10</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;;">5111</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">9,324</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">34</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-066</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;;">10</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;;">5111</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">6,789</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">35</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-073</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;;">10</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;;">5111</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;;">10</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;;">73</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">4,540</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">4990.17</td></tr><tr ><td style="color: #161120;text-align: center;">36</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5111-GGM</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;;">10</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;;">5111</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;;">10</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">29,941</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;;">29,941</td><td style="border-left: 1px solid black;;"></td></tr><tr ><td style="color: #161120;text-align: center;">37</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-008</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;;">10</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;;">5113</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;;">10</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;;">8</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">1,052</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-028</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;;">10</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;;">5113</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;;">10</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;;">28</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">442</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">39</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-038</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;;">10</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;;">5113</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;;">10</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;;">38</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">268</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">40</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-055</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;;">10</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;;">5113</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;;">10</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;;">55</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">1,052</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">41</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-066</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;;">10</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;;">5113</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;;">10</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;;">66</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">747</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">42</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-073</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;;">10</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;;">5113</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;;">10</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;;">73</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">579</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;;">0</td><td style="text-align: right;border-left: 1px solid black;;">548.83</td></tr><tr ><td style="color: #161120;text-align: center;">43</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">10-5113-GGM</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;;">10</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;;">5113</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;;">10</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</td><td style="border-top: 1px solid black;border-right: 1px solid black;border-bottom: 1px solid black;border-left: 1px solid black;;">GGM</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;;">3,293</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;;">3,293</td><td style="border-left: 1px solid black;;"></td></tr></tbody></table><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">Q7</th><td style="text-align:left">=IF(<font color="Blue">P7=0,SUMPRODUCT(<font color="Red">--(<font color="Green">$J$7:$J$43=J7</font>),--(<font color="Green">$K$7:$K$43=K7</font>),--(<font color="Green">$N$7:$N$43=N7</font>),--(<font color="Green">$P$7:$P$43</font>)</font>)/(<font color="Red">SUMPRODUCT(<font color="Green">--(<font color="Purple">$J$7:$J$43=J7</font>),--(<font color="Purple">$K$7:$K$43=K7</font>),--(<font color="Purple">$N$7:$N$43=N7</font>)</font>)-1</font>),""</font>)</td></tr></tbody></table></td></tr></table>

If you have Excel 2007 or later, you could use a SUMIFS/COUNTIFS formula instead of SUMPRODUCT.
=IF(P7=0,SUMIFS(P:P, J:J, J7, K:K, K7, N:N, N7)/(COUNTIFS(J:J, J7, K:K, K7, N:N, N7)-1),"")
 
Upvote 0
Oops, AlphaFrog's post alerted me to the fact that I had not adjusted my columns correctly.

Of course with both suggestions you will need to ensure the ranges in the formulas reach at least to the bottom of your data so you may need to amend the $50 in my formulas and the $43 in AlphaFrog's formulas before copying down.

Just to tidy up my suggestion, here it is again with (hopefully :)) the correct columns.

Excel Workbook
JKNPQR
6CountryAccSegmentSiteSiteBalanceReallocation 2007+Reallocation 2003-
7104110GGM000
8104110GGM000
9104110GGM000
10104110GGM000
11104110GGM000
12104110GGM000
13104420GGM000
14104420GGM000
15104420GGM000
16104420GGM000
17104430GGM000
18104430GGM000
19104430GGM000
20104430GGM000
21104430GGM000
22104430GGM000
23945111GGM03485.6666673485.666667
24945111GGM03485.6666673485.666667
25945111GGM03485.6666673485.666667
26945111GGM03485.6666673485.666667
27945111GGM03485.6666673485.666667
28945111GGM03485.6666673485.666667
29945111GGM20,914
30105111GGM04990.1666674990.166667
31105111GGM04990.1666674990.166667
32105111GGM04990.1666674990.166667
33105111GGM04990.1666674990.166667
34105111GGM04990.1666674990.166667
35105111GGM04990.1666674990.166667
36105111GGM29,941
37105113GGM0548.8333333548.8333333
38105113GGM0548.8333333548.8333333
39105113GGM0548.8333333548.8333333
40105113GGM0548.8333333548.8333333
41105113GGM0548.8333333548.8333333
42105113GGM0548.8333333548.8333333
43105113GGM3,293
44
Spread Value
 
Upvote 0
I'm using Excel 2007.
Thank you so very much! This is excellent.

Now I have an even more difficult task. I don't think this can be done in VBA though.
Excel Workbook
EFGHIJKLMNOPQ
1GGM6008028038055066073
2NMM8005011021024032042048049
3MWA14
4KNC14
5AcctIDAcct DescHeaderCategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
6#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?
7\\\\\\\\\\\\\
8
9
10AcctIDAcct DescHeaderCategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
1510-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010NMMNMM-64,517-64,517
2394-5111-005-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110005NMM9,45502531.978
2594-5111-011-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110011NMM8,76402531.978
2694-5111-021-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110021NMM3,77802531.978
2794-5111-024-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110024NMM3,77802531.978
2994-5111-032-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110032NMM9,79802531.978
3194-5111-042-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110042NMM10,75402531.978
3294-5111-048-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110048NMM13,44502531.978
3394-5111-049-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110049NMM9,94802531.978
3994-5111-NMM-910Salaries - ExpatriatesEBITDADirect ExpensesDirect Expenses94511110NMMNMM20,25620,256
Sheet1
Excel 2007

The formula works if there are rows which can be used for the distribution, e.g Cell P39 is distributed over Q23:Q39.

In cell P15 however, I have $64,517 which don't get re-allocated with the previous formula.
Can the formula be changed to devide whatever is in column P by the number in Cell F1, F2, F3 or F4?

Cell P39 has country ='94', AccSegment = '5111' and Site 'NMM'.
Cell F2 shows, that there are 8 rigs in NMM. Therefore P39 is divided by 8.
In this case I have 8 rows to distribute the amount accross.

Cell P15 has country ='10', AccSegment = '4420' and Site 'NMM'.
Cell F2 shows, that there are 8 rigs in NMM but I have no account with AccSegment '4420' in NMM.

Now the difficult part is that I need Excel to create these 8 rows for me.

So when done it has distributed the $64,517 as well as shown below.
So I basically need the previous formula you guys created and having Excel creating a number of lines based on the count in cells F1 to F4.

I'd really appreciate if you could give me some advise on how to achieve this.
Excel Workbook
EFGHIJKLMNOPQ
1GGM6008028038055066073
2NMM8005011021024032042048049
3MWA14
4KNC14
5AcctIDAcct DescHeaderCategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
6#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?#NAME?
7\\\\\\\\\\\\\
8
9
10AcctIDAcct DescHeaderCategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
1510-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010005NMM-64,517-8064.6
1610-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010011NMM-64,517-8064.6
1710-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010021NMM-64,517-8064.6
1810-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010024NMM-64,517-8064.6
1910-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010032NMM-64,517-8064.6
2010-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010042NMM-64,517-8064.6
2110-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010048NMM-64,517-8064.6
2210-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010049NMM-64,517-8064.6
2310-4420-NMMRevenue - OtherEBITDARevenueRevenue10442010NMMNMM-64,517-64,517
Sheet1
Excel 2007
 
Upvote 0
I don't think this can be done in VBA though.
Hopefully that was a typo, since if you may require rows to be inserted you cannot do this without vba (unless you do the task manually of course :biggrin:).

Test this in a copy of your workbook.

<font face=Courier New><SPAN style="color:#00007F">Option</SPAN> <SPAN style="color:#00007F">Explicit</SPAN><br><SPAN style="color:#00007F">Option</SPAN> <SPAN style="color:#00007F">Base</SPAN> 1<br><br><SPAN style="color:#00007F">Sub</SPAN> Spread_values()<br>    <SPAN style="color:#00007F">Dim</SPAN> aRows, aData, AMatchCols<br>    <SPAN style="color:#00007F">Dim</SPAN> LR <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, r <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, RwsReqd <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br>    <SPAN style="color:#00007F">Dim</SPAN> i <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, j <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, k <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, x <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN>, z <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN><br>    <SPAN style="color:#00007F">Dim</SPAN> Amt <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Single</SPAN><br>    <SPAN style="color:#00007F">Dim</SPAN> Site <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">String</SPAN>, CSS1 <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">String</SPAN>, CSS2 <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">String</SPAN><br>    <br>    <SPAN style="color:#00007F">Const</SPAN> FR <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN> = 11 <SPAN style="color:#007F00">'<-- First Row of actual data</SPAN><br>    <SPAN style="color:#00007F">Const</SPAN> NumSites <SPAN style="color:#00007F">As</SPAN> <SPAN style="color:#00007F">Long</SPAN> = 4 <SPAN style="color:#007F00">'<--No. of possible sites</SPAN><br>    AMatchCols = Array(6, 7, 10) <SPAN style="color:#007F00">'<--Cols in data that must match</SPAN><br>                                    <SPAN style="color:#007F00">'(ie Country,Segment,Site)</SPAN><br>    <br>    Application.ScreenUpdating = <SPAN style="color:#00007F">False</SPAN><br>    x = <SPAN style="color:#00007F">UBound</SPAN>(AMatchCols)<br>    aRows = Range("E1:F" & NumSites).Value<br>    LR = Range("P" & Rows.Count).End(xlUp).Row<br>    aData = Range("E1:P" & LR).Value<br>    <SPAN style="color:#00007F">For</SPAN> r = LR <SPAN style="color:#00007F">To</SPAN> FR <SPAN style="color:#00007F">Step</SPAN> -1<br>        <SPAN style="color:#00007F">If</SPAN> aData(r, 12) <> 0 <SPAN style="color:#00007F">Then</SPAN><br>            Site = Range("N" & r).Value<br>            i = 0<br>            <SPAN style="color:#00007F">Do</SPAN><br>                i = i + 1<br>            <SPAN style="color:#00007F">Loop</SPAN> <SPAN style="color:#00007F">Until</SPAN> aRows(i, 1) = Site <SPAN style="color:#00007F">Or</SPAN> i = NumSites<br>            <SPAN style="color:#00007F">If</SPAN> aRows(i, 1) = Site <SPAN style="color:#00007F">Then</SPAN><br>                RwsReqd = aRows(i, 2)<br>            <SPAN style="color:#00007F">Else</SPAN><br>                MsgBox "Site not found in table"<br>                <SPAN style="color:#00007F">Exit</SPAN> <SPAN style="color:#00007F">Sub</SPAN><br>            <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br>            Amt = Range("P" & r).Value / RwsReqd<br>            CSS1 = ""<br>            <SPAN style="color:#00007F">For</SPAN> j = 1 <SPAN style="color:#00007F">To</SPAN> x<br>                CSS1 = CSS1 & "|" & aData(r, AMatchCols(j))<br>            <SPAN style="color:#00007F">Next</SPAN> j<br>            <SPAN style="color:#00007F">For</SPAN> k = 1 <SPAN style="color:#00007F">To</SPAN> RwsReqd<br>                <SPAN style="color:#00007F">If</SPAN> r - k >= FR - 1 <SPAN style="color:#00007F">Then</SPAN><br>                    z = r + 1 - k<br>                    CSS2 = ""<br>                    <SPAN style="color:#00007F">For</SPAN> j = 1 <SPAN style="color:#00007F">To</SPAN> x<br>                        CSS2 = CSS2 & "|" & aData(r - k, AMatchCols(j))<br>                    <SPAN style="color:#00007F">Next</SPAN> j<br>                <SPAN style="color:#00007F">Else</SPAN><br>                    z = FR<br>                <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br>                <SPAN style="color:#00007F">If</SPAN> CSS2 = CSS1 <SPAN style="color:#00007F">Then</SPAN><br>                    Range("Q" & r - k).Value = Amt<br>                <SPAN style="color:#00007F">Else</SPAN><br>                    <SPAN style="color:#00007F">With</SPAN> Rows(z)<br>                        .Insert<br>                        Range("E" & z).Resize(, 11).Value = _<br>                            Range("E" & z + 1).Resize(, 11).Value<br>                        Range("Q" & z) = Amt<br>                    <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">With</SPAN><br>                <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br>            <SPAN style="color:#00007F">Next</SPAN> k<br>        <SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">If</SPAN><br>    <SPAN style="color:#00007F">Next</SPAN> r<br>    Application.ScreenUpdating = <SPAN style="color:#00007F">True</SPAN><br><SPAN style="color:#00007F">End</SPAN> <SPAN style="color:#00007F">Sub</SPAN></FONT>
 
Upvote 0
Hi Peter,

Again, thank you so much!
You're right. It was a typo. Inserting rows can only be done in VBA.

I'm trying to work through and understand your code.
It works very well, although I noticed when it inserts the reallocation amount it jumps one row.
In my test I tried re-allocating the $7,434, in cell P25.
It devided it by 8 because there are 8 rigs at site NMM ( as in cell F2).
When it inserts the amount the 1st insert is correct in row 24, but then it jumps to row 22 for the next insert.
This then means, the site balance in cell P23 is being ignored.
I think the error is in the line below.
Code:
z = r + 1 - k

Another thing I noticed is that it seems to get confused with the sites, but thats probably related to jumping the rows.
Cell N22 for example should be site 'NMM' because N25 is 'NMM' as well.

Would it also be possible to have column M (RigSite) replaced with the actual rig number?
The numbers for the actual rigs on site are on the same worksheet in row 1 to 4.
Column E are the sites, F the number of rigs and the then following columns are the actual rig numbers as shown in my 2nd table below.
Excel Workbook
EFGHIJKLMNOPQ
10AcctIDAcct DescHeaderCategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
1110-5811-048Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110048NMM5,0980929.23
1210-5811-049Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110049NMM4,2200929.23
1310-5811-055Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110055GGM2,9470
1410-5811-066Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense1058111066GGM4,809929.23
1510-5811-066Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110066GGM4,8090
1610-5811-073Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense1058111073GGM1,189929.23
1710-5811-073Depreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110073GGM1,1890
1810-5811-GGMDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110GGMGGM9,796929.23
1910-5811-GGMDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110GGMGGM9,7969,796
2010-5811-KNCDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110KNCKNC119929.23
2110-5811-KNCDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110KNCKNC119119
2210-5811-MWADepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110MWAMWA3,750929.23
2310-5811-MWADepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110MWAMWA3,7503,750
2410-5811-NMMDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110NMMNMM7,434929.23
2510-5811-NMMDepreciation ExpenseITDADepreciation ExpenseDepreciation Expense10581110NMMNMM7,4347,434
Sheet1
Excel 2007
Excel Workbook
EFGHIJKLMNOPQ
1GGM6008028038055066073
2NMM8005011021024032042048049
3MWA14008028038055066073005011021024032
4KNC14008028038055066073005011021024032
Sheet1
Excel 2007
 
Upvote 0
Let's not try to bite off too much at once. :)

1. It seemed to work (without row skipping) for me with the data posted in the first screen shot in post #5. Does that work for you too?

2. I assume that the first screen shot in post #7 was taken after the code was run. Can you post what the data looked like before the code was run? You only need to post columns J:P.
 
Upvote 0
Hi Peter,

  1. You are right. it works for the 1st screen shot in post 5.
    But when I take out row 15 from that screen shot and copy to the end of my list it is skipping rows.
    #VALUE!
    #VALUE!
    Excel Workbook
    HIJKLMNOPQ
    10CategorySubCategoryCountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
    11Depreciation ExpenseDepreciation Expense10581110005NMM7280
    12Depreciation ExpenseDepreciation Expense10581110008GGM1,9360
    13Depreciation ExpenseDepreciation Expense10581110011NMM5,0080
    14Depreciation ExpenseDepreciation Expense10581110021NMM2,0180
    15Depreciation ExpenseDepreciation Expense10581110024NMM3,6590
    16Depreciation ExpenseDepreciation Expense10581110028GGM2,3690
    17Depreciation ExpenseDepreciation Expense10581110032NMM5,4470
    18Depreciation ExpenseDepreciation Expense10581110038GGM8,0610
    19Depreciation ExpenseDepreciation Expense10581110042NMM2,0760
    20Depreciation ExpenseDepreciation Expense10581110048NMM5,0980
    21Depreciation ExpenseDepreciation Expense10581110049NMM4,2200
    22Depreciation ExpenseDepreciation Expense10581110055GGM2,9470
    23Depreciation ExpenseDepreciation Expense10581110066GGM4,8090
    24Depreciation ExpenseDepreciation Expense10581110073GGM1,1890
    25Depreciation ExpenseDepreciation Expense10581110GGMGGM9,7969,796
    26Depreciation ExpenseDepreciation Expense10581110KNCKNC119119
    27Depreciation ExpenseDepreciation Expense10581110MWAMWA3,7503,750
    28Depreciation ExpenseDepreciation Expense10581110NMMNMM7,4347,434
    Excel 2007 [/B] [*]Yes, the screen shot was taken after I ran it. This is BEFORE Sheet1
    Excel Workbook
    JKLMNOPQ
    10CountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalanceReAllocation
    1110581110005NMM7280
    1210581110008GGM1,9360
    1310581110011NMM5,0080
    1410581110021NMM2,0180
    1510581110024NMM3,6590
    1610581110028GGM2,3690
    1710581110032NMM5,4470
    1810581110038GGM8,0610
    1910581110042NMM2,0760
    2010581110048NMM5,0980929.23
    2110581110049NMM4,2200929.23
    2210581110055GGM2,9470
    231058111066GGM4,809929.23
    2410581110066GGM4,8090
    251058111073GGM1,189929.23
    2610581110073GGM1,1890
    2710581110GGMGGM9,796929.23
    2810581110GGMGGM9,7969,796
    2910581110KNCKNC119929.23
    3010581110KNCKNC119119
    3110581110MWAMWA3,750929.23
    3210581110MWAMWA3,7503,750
    3310581110NMMNMM7,434929.23
    3410581110NMMNMM7,4347,434
    Excel 2007 [/B][/B]And AFTER [/B][/B]I stopped it after it had finished with the value in Cell P34. Sheet1
    Excel 2007





    [/B][/B]
 
Upvote 0
You were right about there being a problem with the "z = r + 1 - k" line. I think I could fix that for section 1 of post #9.

However, that is on hold because section 2 of post #9 is quite different from your earlier data samples. In the previous data samples the lines that had the same Country, Segment, Site (CSS) were grouped together. This latest data does not have that feature. For example, look at CSS 10|5811|NMM, it is split into 5 distinct ranges.

Excel Workbook
JKLMNOP
10CountryAccSegmentManCoRigSiteSiteCurrent PeriodSiteBalance
11105811105NMM7280
12105811108GGM1,9360
131058111011NMM5,0080
141058111021NMM2,0180
151058111024NMM3,6590
161058111028GGM2,3690
171058111032NMM5,4470
181058111038GGM8,0610
191058111042NMM2,0760
201058111048NMM5,0980
211058111049NMM4,2200
221058111055GGM2,9470
231058111066GGM4,8090
241058111073GGM1,1890
2510581110GGMGGM9,7969,796
2610581110KNCKNC119119
2710581110MWAMWA3,7503,750
2810581110NMMNMM7,4347,434
Spread Value vba (6)





My code was based on those groupings being together per the earlier samples.
So, my questions are:

1. Is it OK to sort the data based on CSS so that those groupings come together.

2. If not, what should the 'After' look like for this second example in post #9?
 
Upvote 0

Forum statistics

Threads
1,224,517
Messages
6,179,240
Members
452,898
Latest member
Capolavoro009

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top