The client code breed a month amount
Client code varieties 2 month amount
Client code three varieties in amount
Data source table ZhongKe monthly purchases varieties could be varied more pen for writing a VBA is the variety of statistics last month a variety of total amount and the amount of summary of this month (other varieties only need statistics in the total) the second is the statistics when the annual total amount of the current month only request one and two varieties, and this year all kinds remit total annual remit total
Finally out of basic data format below
This month total this year cumulative
Client code in total amount of two varieties of the breeds variety.
Note: according to customer's code prior to the statistical data sort
CodePudding user response:
Don't need VBA, and dragged out the pivot table directlyCodePudding user response: