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
 All Categories
 14 Welcome to the Community
 10.8K Get Help
 65 Global Discussions
 69 Industry Talk
 385 Announcements
 3.5K Ideas & Feature Requests
 55 Brandfolder
 125 Just for fun
 50 Community Job Board
 464 Show & Tell
 40 Member Spotlight
 44 Power Your Process
 28 Sponsor X
 234 Events
 7.3K Forum Archives
Check out the Formula Handbook template!