I know this can be accomplished with a pivot table. However, there will be different people doing this task each day who cannot grasp the concept of a pivot table. So this has to be an automated process through VBA to prevent human errors.
The data is on a spreadsheet named SUMMARY.
The data was filtered in ascending order by Date (column G) then by Category (column F).
What I need help with, is to create a matrix for each date that will indicate the total amount for each category within that date.
The only criteria for totaling any category is whether or not an X is placed in column E (the 'EACH' header)
Column D can be ignored at this time (but not deleted)
This spreadsheet is never more than 100 rows, so looping through the rows is OK, unless someone could do this with filtering. I don't know how to do either, and I looked for hours to find a method. I need help on this one. So, I hope someone can assist me.
Here's an idea I have about the desired layout result, but maybe someone has a better layout idea.
1-Dec
BLACK 30
BROWN 21
BLUE 5
GOLD 44
GREEN 21
RED 25
2-Dec
BROWN 43
GOLD 25
RED 27
3-Dec
BLACK 4
BROWN 40
GREEN 10
RED 36
The file is attached below, and the desired result is also on the Summary sheet. However, it does not need to be there. It can be on a separate sheet.
Thank you for looking at this.
Bookmarks