So i have made this matrix (filename BBC_2.xls):
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <table class="MsoNormalTable" style="width: 310pt; margin-left: 2.95pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="413"> <tbody><tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap"> </td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap"> </td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (1)KTDC439
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (2)DSCSTARTKIT
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (3)M8706GA
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (4)SLRSTARTKIT
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (5)HAMA86452
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> </tbody></table>
and then i have a corresponding file that i get from my economy dept. which looks like this (filename BBC_1.xls):
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <table class="MsoNormalTable" style="width: 198.9pt; margin-left: 2.95pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="265"> <tbody><tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (c)Item
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (1)KTDC439
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (2)DSCSTARTKIT
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (3)M8706GA
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (4)KTDC439
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> <tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (5)KTDC439
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap"> </td> </tr> </tbody></table>
I cant figure out the correct formula to summarize the matrix, i want to summarize based on productcode and date, the matrix should show that i get 40 units of KTDC439 on the 13.07.2011 and 20 on the 14.07.2011.
Any help is greatly appreciated!
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <table class="MsoNormalTable" style="width: 310pt; margin-left: 2.95pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="413"> <tbody><tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
(a)13.07.2011
(b)14.07.2011
(c)15.07.2011
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (2)DSCSTARTKIT
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (3)M8706GA
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (4)SLRSTARTKIT
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> <tr style="height: 12.75pt;"> <td style="width: 98pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="131" nowrap="nowrap"> (5)HAMA86452
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> <td style="width: 53pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="71" nowrap="nowrap">
</td> </tr> </tbody></table>
and then i have a corresponding file that i get from my economy dept. which looks like this (filename BBC_1.xls):
<!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:HyphenationZone>21</w:HyphenationZone> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> </w:Compatibility> <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" LatentStyleCount="156"> </w:LatentStyles> </xml><![endif]--><!--[if gte mso 10]> <style> /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} </style> <![endif]--> <table class="MsoNormalTable" style="width: 198.9pt; margin-left: 2.95pt; border-collapse: collapse;" border="0" cellpadding="0" cellspacing="0" width="265"> <tbody><tr style="height: 12.75pt;"> <td style="width: 68.9pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="92" nowrap="nowrap"> (c)Item
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
(h)Qty
(v)Date
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
20
13.07.2011
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
20
14.07.2011
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
20
15.07.2011
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
20
13.07.2011
</td> <td style="width: 65pt; padding: 0cm 3.5pt; height: 12.75pt;" valign="bottom" width="87" nowrap="nowrap">
20
14.07.2011
I cant figure out the correct formula to summarize the matrix, i want to summarize based on productcode and date, the matrix should show that i get 40 units of KTDC439 on the 13.07.2011 and 20 on the 14.07.2011.
Any help is greatly appreciated!