Sub Totals by Year VBA

Panoos64

Well-known Member
Joined
Mar 1, 2014
Messages
890
Hi to all of you, kindly require to provide me support for a VBA code so that, to prepare “Sub Totals” per year base on Col. “A” but starting from “A13” till last completed row. I present below the original data and expected result. Thank you all in advance
<!--[if gte mso 9]><xml> <o:OfficeDocumentSettings> <o:RelyOnVML/> <o:AllowPNG/> </o:OfficeDocumentSettings> </xml><![endif]--><!--[if gte mso 9]><xml> <w:WordDocument> <w:View>Normal</w:View> <w:Zoom>0</w:Zoom> <w:TrackMoves/> <w:TrackFormatting/> <w:PunctuationKerning/> <w:ValidateAgainstSchemas/> <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid> <w:IgnoreMixedContent>false</w:IgnoreMixedContent> <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText> <w:DoNotPromoteQF/> <w:LidThemeOther>EN-US</w:LidThemeOther> <w:LidThemeAsian>X-NONE</w:LidThemeAsian> <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript> <w:Compatibility> <w:BreakWrappedTables/> <w:SnapToGridInCell/> <w:WrapTextWithPunct/> <w:UseAsianBreakRules/> <w:DontGrowAutofit/> <w:SplitPgBreakAndParaMark/> <w:EnableOpenTypeKerning/> <w:DontFlipMirrorIndents/> <w:OverrideTableStyleHps/> <w:UseFELayout/> </w:Compatibility> <m:mathPr> <m:mathFont m:val="Cambria Math"/> <m:brkBin m:val="before"/> <m:brkBinSub m:val="--"/> <m:smallFrac m:val="off"/> <m:dispDef/> <m:lMargin m:val="0"/> <m:rMargin m:val="0"/> <m:defJc m:val="centerGroup"/> <m:wrapIndent m:val="1440"/> <m:intLim m:val="subSup"/> <m:naryLim m:val="undOvr"/> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="false" DefSemiHidden="false" DefQFormat="false" DefPriority="99" LatentStyleCount="371"> <w:LsdException Locked="false" Priority="0" QFormat="true" Name="Normal"/> <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 1"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 2"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 3"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 4"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 5"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 6"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 7"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 8"/> <w:LsdException Locked="false" Priority="9" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="heading 9"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 6"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 7"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 8"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index 9"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 1"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 2"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 3"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 4"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 5"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 6"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 7"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 8"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" Name="toc 9"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Normal Indent"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="footnote text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="annotation text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="header"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="footer"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="index heading"/> <w:LsdException Locked="false" Priority="35" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="caption"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="table of figures"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="envelope address"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="envelope return"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="footnote reference"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="annotation reference"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="line number"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="page number"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="endnote reference"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="endnote text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="table of authorities"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="macro"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="toa heading"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Number"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Bullet 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Number 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Number 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Number 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Number 5"/> <w:LsdException Locked="false" Priority="10" QFormat="true" Name="Title"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Closing"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Signature"/> <w:LsdException Locked="false" Priority="1" SemiHidden="true" UnhideWhenUsed="true" Name="Default Paragraph Font"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text Indent"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="List Continue 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Message Header"/> <w:LsdException Locked="false" Priority="11" QFormat="true" Name="Subtitle"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Salutation"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Date"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text First Indent"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text First Indent 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Note Heading"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text Indent 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Body Text Indent 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Block Text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Hyperlink"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="FollowedHyperlink"/> <w:LsdException Locked="false" Priority="22" QFormat="true" Name="Strong"/> <w:LsdException Locked="false" Priority="20" QFormat="true" Name="Emphasis"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Document Map"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Plain Text"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="E-mail Signature"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Top of Form"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Bottom of Form"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Normal (Web)"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Acronym"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Address"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Cite"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Code"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Definition"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Keyboard"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Preformatted"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Sample"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Typewriter"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="HTML Variable"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Normal Table"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="annotation subject"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="No List"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Outline List 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Outline List 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Outline List 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Simple 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Simple 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Simple 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Classic 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Classic 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Classic 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Classic 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Colorful 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Colorful 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Colorful 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Columns 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Columns 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Columns 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Columns 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Columns 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 6"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 7"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Grid 8"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 4"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 5"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 6"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 7"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table List 8"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table 3D effects 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table 3D effects 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table 3D effects 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Contemporary"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Elegant"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Professional"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Subtle 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Subtle 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Web 1"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Web 2"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Web 3"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Balloon Text"/> <w:LsdException Locked="false" Priority="39" Name="Table Grid"/> <w:LsdException Locked="false" SemiHidden="true" UnhideWhenUsed="true" Name="Table Theme"/> <w:LsdException Locked="false" SemiHidden="true" Name="Placeholder Text"/> <w:LsdException Locked="false" Priority="1" QFormat="true" Name="No Spacing"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading"/> <w:LsdException Locked="false" Priority="61" Name="Light List"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3"/> <w:LsdException Locked="false" Priority="70" Name="Dark List"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 1"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 1"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 1"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 1"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 1"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 1"/> <w:LsdException Locked="false" SemiHidden="true" Name="Revision"/> <w:LsdException Locked="false" Priority="34" QFormat="true" Name="List Paragraph"/> <w:LsdException Locked="false" Priority="29" QFormat="true" Name="Quote"/> <w:LsdException Locked="false" Priority="30" QFormat="true" Name="Intense Quote"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 1"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 1"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 1"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 1"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 1"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 1"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 1"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 1"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 2"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 2"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 2"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 2"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 2"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 2"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 2"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 2"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 2"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 2"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 2"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 2"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 2"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 2"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 3"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 3"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 3"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 3"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 3"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 3"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 3"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 3"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 3"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 3"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 3"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 3"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 3"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 3"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 4"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 4"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 4"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 4"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 4"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 4"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 4"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 4"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 4"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 4"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 4"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 4"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 4"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 4"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 5"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 5"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 5"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 5"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 5"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 5"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 5"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 5"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 5"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 5"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 5"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 5"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 5"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 5"/> <w:LsdException Locked="false" Priority="60" Name="Light Shading Accent 6"/> <w:LsdException Locked="false" Priority="61" Name="Light List Accent 6"/> <w:LsdException Locked="false" Priority="62" Name="Light Grid Accent 6"/> <w:LsdException Locked="false" Priority="63" Name="Medium Shading 1 Accent 6"/> <w:LsdException Locked="false" Priority="64" Name="Medium Shading 2 Accent 6"/> <w:LsdException Locked="false" Priority="65" Name="Medium List 1 Accent 6"/> <w:LsdException Locked="false" Priority="66" Name="Medium List 2 Accent 6"/> <w:LsdException Locked="false" Priority="67" Name="Medium Grid 1 Accent 6"/> <w:LsdException Locked="false" Priority="68" Name="Medium Grid 2 Accent 6"/> <w:LsdException Locked="false" Priority="69" Name="Medium Grid 3 Accent 6"/> <w:LsdException Locked="false" Priority="70" Name="Dark List Accent 6"/> <w:LsdException Locked="false" Priority="71" Name="Colorful Shading Accent 6"/> <w:LsdException Locked="false" Priority="72" Name="Colorful List Accent 6"/> <w:LsdException Locked="false" Priority="73" Name="Colorful Grid Accent 6"/> <w:LsdException Locked="false" Priority="19" QFormat="true" Name="Subtle Emphasis"/> <w:LsdException Locked="false" Priority="21" QFormat="true" Name="Intense Emphasis"/> <w:LsdException Locked="false" Priority="31" QFormat="true" Name="Subtle Reference"/> <w:LsdException Locked="false" Priority="32" QFormat="true" Name="Intense Reference"/> <w:LsdException Locked="false" Priority="33" QFormat="true" Name="Book Title"/> <w:LsdException Locked="false" Priority="37" SemiHidden="true" UnhideWhenUsed="true" Name="Bibliography"/> <w:LsdException Locked="false" Priority="39" SemiHidden="true" UnhideWhenUsed="true" QFormat="true" Name="TOC Heading"/> <w:LsdException Locked="false" Priority="41" Name="Plain Table 1"/> <w:LsdException Locked="false" Priority="42" Name="Plain Table 2"/> <w:LsdException Locked="false" Priority="43" Name="Plain Table 3"/> <w:LsdException Locked="false" Priority="44" Name="Plain Table 4"/> <w:LsdException Locked="false" Priority="45" Name="Plain Table 5"/> <w:LsdException Locked="false" Priority="40" Name="Grid Table Light"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 1"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 1"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 1"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 1"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 1"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 1"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 1"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 2"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 2"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 2"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 2"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 2"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 2"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 2"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 3"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 3"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 3"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 3"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 3"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 3"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 3"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 4"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 4"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 4"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 4"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 4"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 4"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 4"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 5"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 5"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 5"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 5"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 5"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 5"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 5"/> <w:LsdException Locked="false" Priority="46" Name="Grid Table 1 Light Accent 6"/> <w:LsdException Locked="false" Priority="47" Name="Grid Table 2 Accent 6"/> <w:LsdException Locked="false" Priority="48" Name="Grid Table 3 Accent 6"/> <w:LsdException Locked="false" Priority="49" Name="Grid Table 4 Accent 6"/> <w:LsdException Locked="false" Priority="50" Name="Grid Table 5 Dark Accent 6"/> <w:LsdException Locked="false" Priority="51" Name="Grid Table 6 Colorful Accent 6"/> <w:LsdException Locked="false" Priority="52" Name="Grid Table 7 Colorful Accent 6"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 1"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 1"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 1"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 1"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 1"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 1"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 1"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 2"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 2"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 2"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 2"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 2"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 2"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 2"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 3"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 3"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 3"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 3"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 3"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 3"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 3"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 4"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 4"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 4"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 4"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 4"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 4"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 4"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 5"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 5"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 5"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 5"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 5"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 5"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 5"/> <w:LsdException Locked="false" Priority="46" Name="List Table 1 Light Accent 6"/> <w:LsdException Locked="false" Priority="47" Name="List Table 2 Accent 6"/> <w:LsdException Locked="false" Priority="48" Name="List Table 3 Accent 6"/> <w:LsdException Locked="false" Priority="49" Name="List Table 4 Accent 6"/> <w:LsdException Locked="false" Priority="50" Name="List Table 5 Dark Accent 6"/> <w:LsdException Locked="false" Priority="51" Name="List Table 6 Colorful Accent 6"/> <w:LsdException Locked="false" Priority="52" Name="List Table 7 Colorful Accent 6"/> </w:LatentStyles> </xml><![endif]-->



Original


<colgroup><col style="mso-width-source:userset;mso-width-alt:853;width:18pt" width="24"> <col style="mso-width-source:userset;mso-width-alt:3953;width:83pt" width="111"> <col style="mso-width-source:userset;mso-width-alt:2702;width:57pt" width="76"> <col style="mso-width-source:userset;mso-width-alt:3441;width:73pt" width="97"> <col style="mso-width-source:userset;mso-width-alt:3413;width:72pt" width="96"> </colgroup><tbody>
[TD="class: xl65, width: 24"][/TD]
[TD="class: xl65, width: 111"]A[/TD]
[TD="class: xl65, width: 76"]B[/TD]
[TD="class: xl65, width: 97"]C [/TD]
[TD="class: xl65, width: 96"]D[/TD]

[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]Sale[/TD]
[TD="class: xl66"]Cost of Sale[/TD]
[TD="class: xl67"]Gross Profit[/TD]

[TD="class: xl65, align: right"]13
[/TD]
[TD="class: xl68, align: right"]15/01/2017
[/TD]
[TD="class: xl69, align: right"] 1,000
[/TD]
[TD="class: xl69, align: right"] 500 [/TD]
[TD="class: xl70, align: right"] 500 [/TD]

[TD="class: xl65, align: right"]14
[/TD]
[TD="class: xl71, align: right"]22/01/2017[/TD]
[TD="class: xl72, align: right"] 1,250 [/TD]
[TD="class: xl72, align: right"] 850 [/TD]
[TD="class: xl73, align: right"] 400 [/TD]

[TD="class: xl65, align: right"]15
[/TD]
[TD="class: xl68, align: right"]29/01/2017[/TD]
[TD="class: xl69, align: right"] 1,150 [/TD]
[TD="class: xl69, align: right"] 630 [/TD]
[TD="class: xl70, align: right"] 520 [/TD]

[TD="class: xl65, align: right"]16
[/TD]
[TD="class: xl71, align: right"]05/02/2017
[/TD]
[TD="class: xl72, align: right"] 1,283
[/TD]
[TD="class: xl72, align: right"] 615 [/TD]
[TD="class: xl73, align: right"] 668 [/TD]

[TD="class: xl65, align: right"]17
[/TD]
[TD="class: xl68, align: right"]12/02/2017[/TD]
[TD="class: xl69, align: right"] 1,358 [/TD]
[TD="class: xl69, align: right"] 680 [/TD]
[TD="class: xl70, align: right"] 678 [/TD]

[TD="class: xl65, align: right"]18
[/TD]
[TD="class: xl71, align: right"]19/02/2017[/TD]
[TD="class: xl72, align: right"] 1,433 [/TD]
[TD="class: xl72, align: right"] 693 [/TD]
[TD="class: xl73, align: right"] 741 [/TD]

[TD="class: xl65, align: right"]19
[/TD]
[TD="class: xl68, align: right"]02/03/2017
[/TD]
[TD="class: xl69, align: right"] 1,508 [/TD]
[TD="class: xl69, align: right"] 705 [/TD]
[TD="class: xl70, align: right"] 803 [/TD]

[TD="class: xl65, align: right"]20
[/TD]
[TD="class: xl71, align: right"]28/03/2017[/TD]
[TD="class: xl72, align: right"] 1,583 [/TD]
[TD="class: xl72, align: right"] 718 [/TD]
[TD="class: xl73, align: right"] 866 [/TD]

[TD="class: xl65, align: right"]21
[/TD]
[TD="class: xl68, align: right"]12/03/2017[/TD]
[TD="class: xl69, align: right"] 1,658 [/TD]
[TD="class: xl69, align: right"] 730 [/TD]
[TD="class: xl70, align: right"] 928 [/TD]

[TD="class: xl65, align: right"]22
[/TD]
[TD="class: xl71, align: right"]19/03/2017[/TD]
[TD="class: xl72, align: right"] 1,733 [/TD]
[TD="class: xl72, align: right"] 743 [/TD]
[TD="class: xl73, align: right"] 991 [/TD]

[TD="class: xl65, align: right"]23
[/TD]
[TD="class: xl68, align: right"]26/03/2017[/TD]
[TD="class: xl69, align: right"] 1,808 [/TD]
[TD="class: xl69, align: right"] 755 [/TD]
[TD="class: xl70, align: right"] 1,053 [/TD]

[TD="class: xl65, align: right"]24
[/TD]
[TD="class: xl71, align: right"]02/04/2017
[/TD]
[TD="class: xl72, align: right"] 1,883 [/TD]
[TD="class: xl72, align: right"] 768 [/TD]
[TD="class: xl73, align: right"] 1,116 [/TD]

[TD="class: xl65, align: right"]25[/TD]
[TD="class: xl68, align: right"]09/04/2017[/TD]
[TD="class: xl69, align: right"] 1,958 [/TD]
[TD="class: xl69, align: right"] 780 [/TD]
[TD="class: xl70, align: right"] 1,178 [/TD]

[TD="class: xl65, align: right"]26
[/TD]
[TD="class: xl71, align: right"]16/04/2017
[/TD]
[TD="class: xl72, align: right"] 2,033 [/TD]
[TD="class: xl72, align: right"] 793 [/TD]
[TD="class: xl73, align: right"] 1,241 [/TD]

[TD="class: xl65, align: right"]27
[/TD]
[TD="class: xl68, align: right"]23/04/2017[/TD]
[TD="class: xl69, align: right"] 2,108 [/TD]
[TD="class: xl69, align: right"] 805 [/TD]
[TD="class: xl70, align: right"] 1,303 [/TD]

[TD="class: xl65, align: right"]28
[/TD]
[TD="class: xl74, align: right"]30/04/2017[/TD]
[TD="class: xl75, align: right"] 2,183 [/TD]
[TD="class: xl75, align: right"] 818 [/TD]
[TD="class: xl76, align: right"] 1,366 [/TD]

[TD="class: xl65, align: right"]29
[/TD]
[TD="class: xl68, align: right"]09/01/2018[/TD]
[TD="class: xl69, align: right"] 1,650 [/TD]
[TD="class: xl69, align: right"] 750 [/TD]
[TD="class: xl70, align: right"] 900 [/TD]

[TD="class: xl65, align: right"]30
[/TD]
[TD="class: xl71, align: right"]15/01/2018[/TD]
[TD="class: xl72, align: right"] 1,345 [/TD]
[TD="class: xl72, align: right"] 733 [/TD]
[TD="class: xl73, align: right"] 612 [/TD]

[TD="class: xl65, align: right"]31
[/TD]
[TD="class: xl68, align: right"]31/01/2018[/TD]
[TD="class: xl69, align: right"] 1,110 [/TD]
[TD="class: xl69, align: right"] 730 [/TD]
[TD="class: xl70, align: right"] 380 [/TD]

[TD="class: xl65, align: right"]32
[/TD]
[TD="class: xl71, align: right"]02/02/2018
[/TD]
[TD="class: xl72, align: right"] 1,254 [/TD]
[TD="class: xl72, align: right"] 655 [/TD]
[TD="class: xl73, align: right"] 599 [/TD]

[TD="class: xl65, align: right"]33
[/TD]
[TD="class: xl68, align: right"]17/02/2018
[/TD]
[TD="class: xl69, align: right"] 1,358 [/TD]
[TD="class: xl69, align: right"] 695 [/TD]
[TD="class: xl70, align: right"] 663 [/TD]

[TD="class: xl65, align: right"]34
[/TD]
[TD="class: xl71, align: right"]25/02/2018[/TD]
[TD="class: xl72, align: right"] 1,524 [/TD]
[TD="class: xl72, align: right"] 705 [/TD]
[TD="class: xl73, align: right"] 819 [/TD]

[TD="class: xl65, align: right"]35
[/TD]
[TD="class: xl68, align: right"]26/02/2018[/TD]
[TD="class: xl69, align: right"] 1,647 [/TD]
[TD="class: xl69, align: right"] 752 [/TD]
[TD="class: xl70, align: right"] 895 [/TD]

[TD="class: xl65, align: right"]36
[/TD]
[TD="class: xl71, align: right"]01/03/2018[/TD]
[TD="class: xl72, align: right"] 1,487 [/TD]
[TD="class: xl72, align: right"] 745 [/TD]
[TD="class: xl73, align: right"] 742 [/TD]

[TD="class: xl65, align: right"]37
[/TD]
[TD="class: xl68, align: right"]10/03/2018[/TD]
[TD="class: xl69, align: right"] 1,752 [/TD]
[TD="class: xl69, align: right"] 710 [/TD]
[TD="class: xl70, align: right"] 1,042 [/TD]

[TD="class: xl65, align: right"]38
[/TD]
[TD="class: xl71, align: right"]25/03/2018[/TD]
[TD="class: xl72, align: right"] 1,625 [/TD]
[TD="class: xl72, align: right"] 769 [/TD]
[TD="class: xl73, align: right"] 856 [/TD]

[TD="class: xl65, align: right"]39
[/TD]
[TD="class: xl68, align: right"]27/03/2018[/TD]
[TD="class: xl69, align: right"] 1,910 [/TD]
[TD="class: xl69, align: right"] 699 [/TD]
[TD="class: xl70, align: right"] 1,211
[/TD]

[TD="class: xl65, align: right"]40
[/TD]
[TD="class: xl71, align: right"]31/03/2018[/TD]
[TD="class: xl72, align: right"] 1,745 [/TD]
[TD="class: xl72, align: right"] 712 [/TD]
[TD="class: xl73, align: right"] 1,033 [/TD]

[TD="class: xl65, align: right"]41
[/TD]
[TD="class: xl68, align: right"]05/04/2018[/TD]
[TD="class: xl69, align: right"] 2,020 [/TD]
[TD="class: xl69, align: right"] 847 [/TD]
[TD="class: xl70, align: right"] 1,173 [/TD]

[TD="class: xl65, align: right"]42
[/TD]
[TD="class: xl71, align: right"]15/04/2018[/TD]
[TD="class: xl72, align: right"] 1,780 [/TD]
[TD="class: xl72, align: right"] 762 [/TD]
[TD="class: xl73, align: right"] 1,018 [/TD]

[TD="class: xl65, align: right"]43
[/TD]
[TD="class: xl68, align: right"]25/04/2018[/TD]
[TD="class: xl69, align: right"] 1,899
[/TD]
[TD="class: xl69, align: right"] 812 [/TD]
[TD="class: xl70, align: right"] 1,087 [/TD]

[TD="class: xl65, align: right"]44
[/TD]
[TD="class: xl74, align: right"]29/04/2018[/TD]
[TD="class: xl75, align: right"] 1,905 [/TD]
[TD="class: xl75, align: right"] 955 [/TD]
[TD="class: xl76, align: right"] 950 [/TD]

</tbody>


Expected result




<colgroup><col style="mso-width-source:userset;mso-width-alt:1024;width:22pt" width="29"> <col style="mso-width-source:userset;mso-width-alt:5176;width:109pt" width="146"> <col style="mso-width-source:userset;mso-width-alt:5262; width:111pt" width="148" span="3"> </colgroup><tbody>
[TD="class: xl65, width: 29"][/TD]
[TD="class: xl65, width: 146"]A[/TD]
[TD="class: xl65, width: 148"]B[/TD]
[TD="class: xl65, width: 148"]C [/TD]
[TD="class: xl65, width: 148"]D[/TD]

[TD="class: xl65, align: right"]1[/TD]
[TD="class: xl66"]Date[/TD]
[TD="class: xl66"]Sale[/TD]
[TD="class: xl66"]Cost of Sale[/TD]
[TD="class: xl67"]Gross Profit[/TD]

[TD="class: xl65, align: right"]13
[/TD]
[TD="class: xl68, align: right"]15/01/2017[/TD]
[TD="class: xl69, align: right"] 1,000
[/TD]
[TD="class: xl69, align: right"] 500 [/TD]
[TD="class: xl70, align: right"] 500 [/TD]

[TD="class: xl65, align: right"]14
[/TD]
[TD="class: xl71, align: right"]22/01/2017
[/TD]
[TD="class: xl72, align: right"] 1,250 [/TD]
[TD="class: xl72, align: right"] 850 [/TD]
[TD="class: xl73, align: right"] 400 [/TD]

[TD="class: xl65, align: right"]15
[/TD]
[TD="class: xl68, align: right"]29/01/2017[/TD]
[TD="class: xl69, align: right"] 1,150 [/TD]
[TD="class: xl69, align: right"] 630 [/TD]
[TD="class: xl70, align: right"] 520 [/TD]

[TD="class: xl65, align: right"]16
[/TD]
[TD="class: xl71, align: right"]05/02/2017[/TD]
[TD="class: xl72, align: right"] 1,283 [/TD]
[TD="class: xl72, align: right"] 615 [/TD]
[TD="class: xl73, align: right"] 668 [/TD]

[TD="class: xl65, align: right"]17
[/TD]
[TD="class: xl68, align: right"]12/02/2017[/TD]
[TD="class: xl69, align: right"] 1,358 [/TD]
[TD="class: xl69, align: right"] 680 [/TD]
[TD="class: xl70, align: right"] 678 [/TD]

[TD="class: xl65, align: right"]18
[/TD]
[TD="class: xl71, align: right"]19/02/2017[/TD]
[TD="class: xl72, align: right"] 1,433 [/TD]
[TD="class: xl72, align: right"] 693 [/TD]
[TD="class: xl73, align: right"] 741 [/TD]

[TD="class: xl65, align: right"]19
[/TD]
[TD="class: xl68, align: right"]02/03/2017[/TD]
[TD="class: xl69, align: right"] 1,508 [/TD]
[TD="class: xl69, align: right"] 705 [/TD]
[TD="class: xl70, align: right"] 803 [/TD]

[TD="class: xl65, align: right"]20
[/TD]
[TD="class: xl71, align: right"]28/03/2017[/TD]
[TD="class: xl72, align: right"] 1,583 [/TD]
[TD="class: xl72, align: right"] 718 [/TD]
[TD="class: xl73, align: right"] 866 [/TD]

[TD="class: xl65, align: right"]21
[/TD]
[TD="class: xl68, align: right"]12/03/2017[/TD]
[TD="class: xl69, align: right"] 1,658 [/TD]
[TD="class: xl69, align: right"] 730 [/TD]
[TD="class: xl70, align: right"] 928 [/TD]

[TD="class: xl65, align: right"]22
[/TD]
[TD="class: xl71, align: right"]19/03/2017[/TD]
[TD="class: xl72, align: right"] 1,733 [/TD]
[TD="class: xl72, align: right"] 743 [/TD]
[TD="class: xl73, align: right"] 991 [/TD]

[TD="class: xl65, align: right"]23
[/TD]
[TD="class: xl68, align: right"]26/03/2017[/TD]
[TD="class: xl69, align: right"] 1,808 [/TD]
[TD="class: xl69, align: right"] 755 [/TD]
[TD="class: xl70, align: right"] 1,053 [/TD]

[TD="class: xl65, align: right"]24
[/TD]
[TD="class: xl71, align: right"]02/04/2017[/TD]
[TD="class: xl72, align: right"] 1,883 [/TD]
[TD="class: xl72, align: right"] 768 [/TD]
[TD="class: xl73, align: right"] 1,116 [/TD]

[TD="class: xl65, align: right"]25
[/TD]
[TD="class: xl68, align: right"]09/04/2017[/TD]
[TD="class: xl69, align: right"] 1,958 [/TD]
[TD="class: xl69, align: right"] 780 [/TD]
[TD="class: xl70, align: right"] 1,178 [/TD]

[TD="class: xl65, align: right"]26
[/TD]
[TD="class: xl71, align: right"]16/04/2017[/TD]
[TD="class: xl72, align: right"] 2,033 [/TD]
[TD="class: xl72, align: right"] 793 [/TD]
[TD="class: xl73, align: right"] 1,241 [/TD]

[TD="class: xl65, align: right"]27
[/TD]
[TD="class: xl68, align: right"]23/04/2017[/TD]
[TD="class: xl69, align: right"] 2,108 [/TD]
[TD="class: xl69, align: right"] 805 [/TD]
[TD="class: xl70, align: right"] 1,303 [/TD]

[TD="class: xl65, align: right"]28
[/TD]
[TD="class: xl74, align: right"]30/04/2017[/TD]
[TD="class: xl75, align: right"] 2,183 [/TD]
[TD="class: xl75, align: right"] 818 [/TD]
[TD="class: xl76, align: right"] 1,366 [/TD]

[TD="class: xl65, align: right"]29
[/TD]
[TD="class: xl77"]2017-Total[/TD]
[TD="class: xl78, align: right"] 25,933 [/TD]
[TD="class: xl78, align: right"] 11,580 [/TD]
[TD="class: xl78, align: right"] 14,353 [/TD]

[TD="class: xl65, align: right"]30
[/TD]
[TD="class: xl68, align: right"]09/01/2018[/TD]
[TD="class: xl69, align: right"] 1,650 [/TD]
[TD="class: xl69, align: right"] 750 [/TD]
[TD="class: xl70, align: right"] 900 [/TD]

[TD="class: xl65, align: right"]31
[/TD]
[TD="class: xl71, align: right"]15/01/2018[/TD]
[TD="class: xl72, align: right"] 1,345 [/TD]
[TD="class: xl72, align: right"] 733 [/TD]
[TD="class: xl73, align: right"] 612 [/TD]

[TD="class: xl65, align: right"]32
[/TD]
[TD="class: xl68, align: right"]31/01/2018[/TD]
[TD="class: xl69, align: right"] 1,110 [/TD]
[TD="class: xl69, align: right"] 730 [/TD]
[TD="class: xl70, align: right"] 380 [/TD]

[TD="class: xl65, align: right"]33
[/TD]
[TD="class: xl71, align: right"]02/02/2018[/TD]
[TD="class: xl72, align: right"] 1,254 [/TD]
[TD="class: xl72, align: right"] 655 [/TD]
[TD="class: xl73, align: right"] 599 [/TD]

[TD="class: xl65, align: right"]34
[/TD]
[TD="class: xl68, align: right"]17/02/2018[/TD]
[TD="class: xl69, align: right"] 1,358 [/TD]
[TD="class: xl69, align: right"] 695 [/TD]
[TD="class: xl70, align: right"] 663 [/TD]

[TD="class: xl65, align: right"]35
[/TD]
[TD="class: xl71, align: right"]25/02/2018[/TD]
[TD="class: xl72, align: right"] 1,524 [/TD]
[TD="class: xl72, align: right"] 705 [/TD]
[TD="class: xl73, align: right"] 819 [/TD]

[TD="class: xl65, align: right"]36
[/TD]
[TD="class: xl68, align: right"]26/02/2018[/TD]
[TD="class: xl69, align: right"] 1,647 [/TD]
[TD="class: xl69, align: right"] 752 [/TD]
[TD="class: xl70, align: right"] 895 [/TD]

[TD="class: xl65, align: right"]37
[/TD]
[TD="class: xl71, align: right"]01/03/2018[/TD]
[TD="class: xl72, align: right"] 1,487 [/TD]
[TD="class: xl72, align: right"] 745 [/TD]
[TD="class: xl73, align: right"] 742 [/TD]

[TD="class: xl65, align: right"]38
[/TD]
[TD="class: xl68, align: right"]10/03/2018[/TD]
[TD="class: xl69, align: right"] 1,752 [/TD]
[TD="class: xl69, align: right"] 710 [/TD]
[TD="class: xl70, align: right"] 1,042 [/TD]

[TD="class: xl65, align: right"]39
[/TD]
[TD="class: xl71, align: right"]25/03/2018[/TD]
[TD="class: xl72, align: right"] 1,625 [/TD]
[TD="class: xl72, align: right"] 769 [/TD]
[TD="class: xl73, align: right"] 856 [/TD]

[TD="class: xl65, align: right"]40
[/TD]
[TD="class: xl68, align: right"]27/03/2018[/TD]
[TD="class: xl69, align: right"] 1,910 [/TD]
[TD="class: xl69, align: right"] 699 [/TD]
[TD="class: xl70, align: right"] 1,211 [/TD]

[TD="class: xl65, align: right"]41
[/TD]
[TD="class: xl71, align: right"]31/03/2018[/TD]
[TD="class: xl72, align: right"] 1,745 [/TD]
[TD="class: xl72, align: right"] 712 [/TD]
[TD="class: xl73, align: right"] 1,033 [/TD]

[TD="class: xl65, align: right"]42
[/TD]
[TD="class: xl68, align: right"]05/04/2018[/TD]
[TD="class: xl69, align: right"] 2,020 [/TD]
[TD="class: xl69, align: right"] 847 [/TD]
[TD="class: xl70, align: right"] 1,173 [/TD]

[TD="class: xl65, align: right"]43
[/TD]
[TD="class: xl71, align: right"]15/04/2018[/TD]
[TD="class: xl72, align: right"] 1,780 [/TD]
[TD="class: xl72, align: right"] 762 [/TD]
[TD="class: xl73, align: right"] 1,018 [/TD]

[TD="class: xl65, align: right"]44
[/TD]
[TD="class: xl68, align: right"]25/04/2018[/TD]
[TD="class: xl69, align: right"] 1,899 [/TD]
[TD="class: xl69, align: right"] 812 [/TD]
[TD="class: xl70, align: right"] 1,087 [/TD]

[TD="class: xl65, align: right"]45
[/TD]
[TD="class: xl74, align: right"]29/04/2018[/TD]
[TD="class: xl75, align: right"] 1,905 [/TD]
[TD="class: xl75, align: right"] 955 [/TD]
[TD="class: xl76, align: right"] 950 [/TD]

[TD="class: xl65, align: right"]46
[/TD]
[TD="class: xl79"]2018-Total[/TD]
[TD="class: xl80, align: right"] 26,011 [/TD]
[TD="class: xl80, align: right"] 12,031 [/TD]
[TD="class: xl80, align: right"] 13,980 [/TD]

[TD="class: xl65, align: right"]47
[/TD]
[TD="class: xl79"]Grand Total
[/TD]
[TD="class: xl80, align: right"] 51,945 [/TD]
[TD="class: xl80, align: right"] 23,611 [/TD]
[TD="class: xl80, align: right"] 28,334 [/TD]

</tbody>
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Try this:-
NB:- This code will modify the layout of your data.
Code:
[COLOR="Navy"]Sub[/COLOR] MG10Jun28
[COLOR="Navy"]Dim[/COLOR] n [COLOR="Navy"]As[/COLOR] [COLOR="Navy"]Long,[/COLOR] Temp [COLOR="Navy"]As[/COLOR] [COLOR="Navy"]Long,[/COLOR] Rng [COLOR="Navy"]As[/COLOR] Range, Dn [COLOR="Navy"]As[/COLOR] Range
[COLOR="Navy"]Dim[/COLOR] nSum(1 To 3), Lst [COLOR="Navy"]As[/COLOR] [COLOR="Navy"]Long[/COLOR]
Lst = Range("A" & Rows.Count).End(xlUp).Row
Temp = Year(Cells(Lst, 1))

[COLOR="Navy"]For[/COLOR] n = Lst To 13 [COLOR="Navy"]Step[/COLOR] -1
    [COLOR="Navy"]If[/COLOR] Not Year(Cells(n, 1)) = Temp [COLOR="Navy"]Then[/COLOR]
        Cells(n + 1, 1).EntireRow.Insert
        Temp = Year(Cells(n, 1))
    [COLOR="Navy"]End[/COLOR] If
[COLOR="Navy"]Next[/COLOR] n

[COLOR="Navy"]Set[/COLOR] Rng = Range("A13", Range("A" & Rows.Count).End(xlUp)).SpecialCells(xlCellTypeConstants)
Lst = Range("A" & Rows.Count).End(xlUp).Row

[COLOR="Navy"]For[/COLOR] [COLOR="Navy"]Each[/COLOR] Dn [COLOR="Navy"]In[/COLOR] Rng.Areas
    [COLOR="Navy"]For[/COLOR] n = 0 To 3
        Dn(Dn.Count + 1).Offset(, n) = IIf(n = 0, Year(Dn(1)) & " -Total", Application.Sum(Dn.Offset(, n)))
        [COLOR="Navy"]If[/COLOR] Not n = 0 [COLOR="Navy"]Then[/COLOR]
        nSum(n) = nSum(n) + Application.Sum(Dn.Offset(, n))
        [COLOR="Navy"]End[/COLOR] If
    [COLOR="Navy"]Next[/COLOR] n
[COLOR="Navy"]Next[/COLOR] Dn
     [COLOR="Navy"]For[/COLOR] n = 0 To 3
        [COLOR="Navy"]If[/COLOR] n = 0 [COLOR="Navy"]Then[/COLOR]
          Cells(Lst + 2, 1).Offset(, n) = "Grand Total"
        [COLOR="Navy"]Else[/COLOR]
          Cells(Lst + 2, 1).Offset(, n) = nSum(n)
        [COLOR="Navy"]End[/COLOR] If
    [COLOR="Navy"]Next[/COLOR] n
[COLOR="Navy"]End[/COLOR] [COLOR="Navy"]Sub[/COLOR]
Regards Mick
 
Upvote 0

Forum statistics

Threads
1,223,711
Messages
6,174,029
Members
452,542
Latest member
Bricklin

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