I working on a balanced scorecard which looks like this:
| (A)Month |
(B)Enddate |
(C)Meeting date |
(D)Score |
| Jan |
31-1-2010 |
20-1-2010 |
1 |
| Feb |
28-2-2010 |
|
0 |
| Mrt |
31-3-2010 |
25-3-2010 |
1 |
| April |
30-4-2010 |
15-4-2010 |
1 |
| May |
31-5-2010 |
|
0 |
I want to calculate an average score (last column) based on today's date (07-05-2010).
The score per row is calculated by a formula: =IF(AND(C2>0;C2<=B2);1;0)
The formula I have created for calculating the average: =AVERAGEIF(B2:B6;"<=Today()";D2:D6).
The formula results in a #DIV/0! and I expected it to show 0,75.
From the looks of it the evaluation of the dates in the B-column versus the today() function does not lead to any result.
According to Excel Help is should be possible to enter a function in the criteria field and consequently I do not understand why the formula does not display the expected result.
Is there a logical explanation for this?
Regards, Werner