=SUMIF(month,1,shop_sales)/COUNTIF(month,1)
I have just realised this gives me the wrong result when its the middle of the month and only the first two weeks results have been entered into the shop_sales range.
month week_ending shop_sales
1 01-Jan-06 1000.00
1 08-Jan-06 2000.00
1 15-Jan-06
1 22-Jan-06
1 29-Jan-06
The above formula returns 3000.00/5 instead of 3000.00/2.
Please help, it should be obvious but I just cant get anything to work.
K
I have just realised this gives me the wrong result when its the middle of the month and only the first two weeks results have been entered into the shop_sales range.
month week_ending shop_sales
1 01-Jan-06 1000.00
1 08-Jan-06 2000.00
1 15-Jan-06
1 22-Jan-06
1 29-Jan-06
The above formula returns 3000.00/5 instead of 3000.00/2.
Please help, it should be obvious but I just cant get anything to work.
K