Hi Guys,
I am working on a project. I have reached a final stage. Now I have a data table looks like this:

After this, I use output data tool spilt the data based on month into several sheets and an example sheet will be similar to the below with sheet name has been named as "Month, YYYY"

But I will need something like this:

Now I know I can get total with sum and I know how to do this if I have only one sheet. But I have multiple sheets and of course, if there is other way that can process the data before I use output data tool spliting the sheet, that would be good too. Thanks a lot guys. I have also upload the these sheet for your information.