Hi all, could someone let me know how to stop the #DIV/0 error from showing in the gross margin cell if there are blank references in either one of 2 cells.
For example I have
to show the gross margin percentage
but if either A1 or B1 doesn't have anything in the cell or is a 0 then how do I use IfError to check both cells or would I be better of using a different method to check for an error?
many thanks Paul.
For example I have
Excel Formula:
=(A1-B1)/A1
but if either A1 or B1 doesn't have anything in the cell or is a 0 then how do I use IfError to check both cells or would I be better of using a different method to check for an error?
many thanks Paul.