I have a client that adds invoices. The way we add the invoices is by account. Each invoice goes to its own account worksheet page. The client wanted me to do a YTD summary page for all the accounts on one page. Here is the logic below that I coded to do the YTD summary. Problem I have now is that they want me to do a Month to date summary. But they want a seperate month to date summary for each account worksheet page. I was able to code the individual YTD summary but the month to date summary going from individual account pages to individual month-to-date summary pages is more complicated. This would be summarizing by object account and by month from the invoice date.
I included a small spreadsheet showing some parts of my worksheet. The spreadsheet has two different account sheets for 35507 and 35509, Control WS, YTD_Summary WS, and MTD_Summary_35507 WS. The month-to-date-summary is currently just a copy of the year-to-date summary worksheet but I changed the columns to relect the months instead of the different accounts.
Each account has its own "CC_" WS so all the data for say account 35507 will appear on the CC_35507 worksheet so if I want to summarize CC_35507 by month I would have to take the invoice month and extract the month from the invoice date. Right now I have the month portion of the invoice date sitting in column BK of each CC_Account worksheet. So for each "CC_" worksheet I want to summarize each object portion of the account by month and place the value in the appropriate column of the MTD_Summary_account spreadsheet.
Question: How do I code logic to take these multiple account pages and code a month to date summary so that each account generates its own month to date summary page. THis request is way over my head.
Here is logic I coded for the year to date summary page.
Bookmarks