one possible solution(although not very elegant)...
in c1:
=IF(A2="f",B1,0)
d1:
=IF(A2="m",B1,0)
put this formula in every other line. then you can sum col c for your
f's and d for your m's
--
tkaplan
------------------------------------------------------------------------
tkaplan's Profile:
http://www.excelforum.com/member.php...o&userid=22987
View this thread:
http://www.excelforum.com/showthread...hreadid=374137