Try (in 2007)
=AVERAGEIFS(D1
10,A1:A10,">=" & DATE(2009,10,1),A1:A10,
"<" & DATE(2009,11,1),B1:B10,"Reported",C1:C10,"*John*")
array formula which will work for 2003/2007
=AVERAGE(IF(TEXT(A1:A10,"mmyyyy")="102009",IF(B1:B10="Reported",
IF(ISNUMBER(SEARCH("John",C1:C10)),IF(ISNUMBER(D1
10),D1
10)))))
If this post helps click Yes