I can't remember how to write an if statement to put a 0 in a cell if it can't be divided by 0. The statement so far is:
=+(BK41-BL41)/BL41
All I want is either the result of the calculation or a 0 but of course, when the number can't be divided, I get #DIV/0!. Can anyone tell me the correct syntax for the if statement to avoid this.
Sorry, i know this is a simple question but I'm not a very sophisticated user.
Thanks for your help!
=+(BK41-BL41)/BL41
All I want is either the result of the calculation or a 0 but of course, when the number can't be divided, I get #DIV/0!. Can anyone tell me the correct syntax for the if statement to avoid this.
Sorry, i know this is a simple question but I'm not a very sophisticated user.
Thanks for your help!