How to removed #DIVIDE BY ZERO
Hi
I have create a formula to calculate the % of margin but when i apply this to the column and there is current data, I get #DIVIDE BY ZERO.
my formula is =[Margin $]@row / [Forecast Amount $]@row
appreciate any help, thanks
Best Answer
-
Hi @pmolloy,
Add an IFERROR round your current formula.
For example, if you want the cells that currently have the error to be blank instead:
=IFERROR([Margin $]@row / [Forecast Amount $]@row, "")
If you want another outcome, amend the final "" portion.
Hope this helps, but if you've any problems/questions then just ask.
Answers
-
Hi @pmolloy,
Add an IFERROR round your current formula.
For example, if you want the cells that currently have the error to be blank instead:
=IFERROR([Margin $]@row / [Forecast Amount $]@row, "")
If you want another outcome, amend the final "" portion.
Hope this helps, but if you've any problems/questions then just ask.
-
Thank you so much. Nick
Help Article Resources
Categories
Check out the Formula Handbook template!