Do you just want a blank cell if all cells are zero?
If so,
=IF(SUM(F49:J49)=0,"",SUMIF(F49:J49,"0")/COUNTIF(F49:J49,"0"))
--
Vito
------------------------------------------------------------------------
Vito's Profile:
http://www.excelforum.com/member.php...o&userid=29182
View this thread:
http://www.excelforum.com/showthread...hreadid=494713