It isn't entirely clear what the OP wants hence your 2 options but note when
testing for zero you will also have to test for a blank cell. Try you formula
with A1 blank
Thank you Mike Sir, today i have learned another most basic level concept
about structuring of formula by way of you. Thank you once again for
intimating my mistake and directing me in the right path...