Hi all.
I'm looking to create the following by means of a Macro. Its shown in S0602vsS0603 attachment
Currently I do it manually. I copy the data into the S0602 and S0603 tabs in the spreadsheet and using SUMIF on the S0602 and S0603 tabs (shown with relevant columns highlighted) to give totals in the S0602vsS0603 tab.
Then I find the difference using B2-C2 etc. But as there are hundreds of thousands of lines it takes forever to run the SUMIF's
The data I use in the SUMIF is is Tabs S0602 and S0603
It runs quicker if I copy the data into the S0602 and S0603 tabs in the spreadsheet and run Pivot tables on S0602 and S0603 and then run VLOOKUPs on the Pivot tables I have created. It is very manual though Is there any way this Pivot Table method can be done by Macros?
Thanks
Bookmarks