Help with condition

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have two columns that I am dividing one column by the other, yet one column
does not match the same amount of numbers. So when this comes up I would like
it to come up with "0" instead of an "error". In actually I am dividing a
number by 0. Any help thanks in advance..
 
Something like:
=IF(ISERROR(A1/B1),0,A1/B1)
should do it.
The error will still be there, but it will display as a 0.

tj
 

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