The worksheet is defined as follows: In cell A2 is the date 5-10-2010, in cell A3 is the date 5-14-2010, in cell A4 is the date 8-31-2010 in cell A5 is the date 10-17-2010. In cell B2 is the value 1, in cell B3 is the value 2, in cell B4 is the value 3, in cell B5 is the value 4, and in cell B6 is the value 5. In cells C2 through C6 a value of 1 is entered in each cell. In cell A1 is the word Date, in cell B1 is the word Days, and in Cell C1 is the word Count. In cell A9 is the date 5-10-2010, in cell A10 is the date 5-1-2010, and in cell A11 is the date 10-1-2009. The date format is entered as month-day-year. Here's what I need:
In cell B9 I need a formula that will calculate the average number of days from column B from the beginning date entered in A9 plus 6 days (a week).
In cell B10 I need a formula that will calculate the average number of days from column B from the beginning date entered in A10 plus 30 days (the month of may for the year 2010).
In cell B11 I need a formula that will calculate the average number of days from column B from the beginning date entered in A11 plus 364 days (the fiscal year ending in Sep 30, 2010).
So, the result in cell B9 should calculate the average number of days based on 5-10-2010 and 5-14-2010, as these are the only two dates encompassed in the week time frame for cell B9.
For B10, it would include only 5-10-2010 and 5-14-2010. For B11 it would include all of the dates with the exception of the last date (10-17-2010).
Thank you,
Bruce
Regards,
Bruce Reynolds
Excel Power User and Model Developer