Error

  • Thread starter Thread starter courtesio99
  • Start date Start date
C

courtesio99

Is there any way to set a cell to 0 if any error(eg DIV/0 or VALUE)
occurs?
 
Only by considering those conditions within the formula, like these:

=IF(B1=0,0,A1/B1)
=IF(ISERROR(A1/B1),0,A1/B1)
 
You can use this formula. It returns 0 if the value in
cell B15 is error. Otherwise it returns the value in cell
B14,

=IF(ISERROR(B15),0,B14)

Rgds,

Peter B
 

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


Back
Top