Maybe

=IF(ISERROR(A1/B1),0,A1/B1) or CF

http://www.contextures.com/xlCondFormat03.html#Errors

VBA Noob