how about
=SUMPRODUCT((F48:F432="m")*(H48:H432="a*"))/SUMPRODUCT((F48:F432="M")*1)
--
duane
------------------------------------------------------------------------
duane's Profile:
http://www.excelforum.com/member.php...o&userid=11624
View this thread:
http://www.excelforum.com/showthread...hreadid=384082