The value of 20,700 represents the average of all salary amounts and not the
salary amounts for the Region A and Agent employees
"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