#DIVIDE BY ZERO
GTN
✭✭
Hi, I have a Smartsheet with calculated columns like -
=SUM(Open@row / SUM(Open@row:[Past Due]@row))
The Smartsheet is being used to create Donut graphs on a Project Dashboard.
In the example above;
Open = 0
In Progress = 0
Closed = 0
Past Due = 0
rather tan getting 0%for Open, I get
#DIVIDE BY ZERO
How do I resolve this?
i.ie 0 divided by 0 = 0%?
Thank you
Tags:
Best Answer
-
I've found IFERROR to be helpful for those types of errors.
Try this formula here:
=IFERROR(SUM(Open@row / SUM(Open@row:[Past Due]@row)), 0)
Answers
-
I've found IFERROR to be helpful for those types of errors.
Try this formula here:
=IFERROR(SUM(Open@row / SUM(Open@row:[Past Due]@row)), 0)
-
Perfect - Thank you
😀
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- 10.7K Get Help
- 63 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!