Here is my formula:

=IF(I12="yes", " ", ((O12/N12)*P12))

It works great, except for the fact that when no data is in N12, the formula gives a #DIV/0! error. Is there a way to insert an IFERROR function into this so the error does not come up if there is no data (or a zero) in N12?