Try this:
=AVERAGE(IF(AND(A2:A11="A",B2:B11="Agent"),(C2:C11 )))
Which must be confirmed with CTRL+SHIFT+ENTER, not just Enter
--
Vito
------------------------------------------------------------------------
Vito's Profile:
http://www.excelforum.com/member.php...o&userid=29182
View this thread:
http://www.excelforum.com/showthread...hreadid=489187