=if($h8=5,$g8*($h8-$e8+1),if($h8<5,0,if($h81,$g8,0)))
--
C01d
------------------------------------------------------------------------
C01d's Profile:
http://www.excelforum.com/member.php...o&userid=34422
View this thread:
http://www.excelforum.com/showthread...hreadid=544347