Without further details, the simplest solution would be:
=IF(ISERR(your function),0,your function)
--
Cutter
------------------------------------------------------------------------
Cutter's Profile:
http://www.excelforum.com/member.php...fo&userid=9848
View this thread:
http://www.excelforum.com/showthread...hreadid=393666