Replacing #DIV/0! by 0

  • Thread starter Thread starter James
  • Start date Start date
J

James

Hello,

I'm trying to replace error symbols with a 0 in a formula without success !

Please could someone tell me where I'm going wrong in the formula below :

IF(ISNA(SUM(M3:O3)/SUMPRODUCT((M3:O3>0)*1))),0,((SUM(M3:O3)/SUMPRODUCT((M3:O
3>0)*1))))

Thanks very much for your help,

James
 
One way:

=IF(COUNTIF(M3:O3,">0")=0,0,SUM(M3:O3)/COUNTIF(M3:O3,">0"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

don't show #DIV/0 error in cell 4
Line adherence 4
=sum #value! error 9
IF function 10
Multiple table lookup 12
error #DIV/0! 7
Access Running Balance in Access 1
Using AND and SUMIF function together 5

Back
Top