This formula returns a value of 20,700. The correct amount should be 12,500.
"Vito" wrote:
Sorry about that, forgot one more argument for the Average Function;
Try =AVERAGE(IF(AND(A2:A11="A",B2:B11="Agent"),C2:C11) ,C2:C11)
confirming with CTRL+SHIFT+ENTER
--
Vito
------------------------------------------------------------------------
Vito's Profile: http://www.excelforum.com/member.php...o&userid=29182
View this thread: http://www.excelforum.com/showthread...hreadid=489187