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
- Smartsheet Customer Resources
- 62.1K Get Help
- 351 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!