Hi there,
Sorry a little complex I know but I'm trying to simplify a spreadsheet so it requires no manual input to automatically update averages.
Essentially I'm trying to monitor sales across months (each month is in a separate sheet). I want to break down sales into days of the week on average across the months.
I've worked out how to identify each weekday and then calculate the sum average of each weekday within the month:
the calculations for these are in the same cells on each sheet. I've worked out (I think) How to sum up and then average these values across the sheets{=AVERAGE(IF(WEEKDAY(C6:C38)=2,U6:U38))} for each weekday
But what I cannot account for is that the months that have not passed return a "#DIV/0!" result. How do I account for that? I have tried "IF AUGUST:APRIL!X7>0, Average...etc" to no avail, and then I tried the "ISBLANK" statement, but they just return 0. Also, I need the calculation to stop at the current date rather than calculate all of them if the date has not yet elapsed.=Average(August:April!X7)
Am I making this too complicated?
Anyone have any ideas?
Bookmarks