Tough to word the title but basically i have 5 tables representing weeks in a month (the 1st of a month could be a friday / the 31st could fall on a tuesday).
The focus is tracking productivity of how many jobs a truck does per hour. So each table averages out for what the jobs per hour was each week. To the right i have another table for month to date to where i compare to previous year. So what i need is for the month to date total to accurately reflect if there were 5 weeks to use or 4 weeks - i have the formula obviously in there to add up all 5 cells, but if only 4 cells have data i need it to know to only divide by 4 for the average / and then of course if 5 cells have data, divide by 5.
i'm not sure if i did explain this very well - if not i can post a sample of what i have
The focus is tracking productivity of how many jobs a truck does per hour. So each table averages out for what the jobs per hour was each week. To the right i have another table for month to date to where i compare to previous year. So what i need is for the month to date total to accurately reflect if there were 5 weeks to use or 4 weeks - i have the formula obviously in there to add up all 5 cells, but if only 4 cells have data i need it to know to only divide by 4 for the average / and then of course if 5 cells have data, divide by 5.
i'm not sure if i did explain this very well - if not i can post a sample of what i have