Assume that I am running a gas station. I am only selling 4 grades of fuel: Regular, Mid-Grade, Premium, and Diesel.
I am challenged to create a file that includes a summary tab with additional tabs for every day of the month. Feb 1 data is copied from source document and pasted into tab "1"; Feb 2 data is pasted to tab "2"; etc. Each of the daily tabs are consistent from the source data.
The tab "Summary" is a consolidation of the daily data. We are comparing each item's budget to actuals.
trial1.PNG
I can calc the daily data by using a sumifs and indirect to get the data from tab "6". I can calc the Month to Date (MTD) if all tabs are to be included.
Assume it is now Feb 18 and all tabs"1" through "18" are populated. Where I am being challenged is to calc the MTD data on a day earlier in the month. I need to be able to calc the MTD through Feb 5.
My first inclination was to have the tab "Summary" store the the data in 31 consecutive columns that are hidden, but that seems to be storing redundant data.
How do I only calc the MTD through Feb 5 if I have already populated the data for 18 days?
On a side note:
As we expand our gas station into a convenience store, we will be adding other groups of items such as Candy, Drinks, etc. These will be added to the summary sheet as we expand.
Bookmarks