Moved a column & now have an error #Divid by Zero. How do I fix it?
I have some formulas that were effected by moving a column & condensing a column from 4 to 1 by using drop down menus. How can I fix these?
Answers
-
Can you provide some screenshots, examples, and the formula that you are using? That will help us out.
-
Here is the formula,
"HL" is one of the drop down tags that I would like to separate as a total.
=AVG(COLLECT([% Diff]:[% Diff], Type:Type, ="HL", [Open Date]:[Open Date], >=DATE(2020, 7, 1), [Open Date]:[Open Date], <=DATE(2021, 6, 30)))
-
Here is a shot of the sheet
-
The formula is housed in the Sheet Summary area on the right side of the page,
-
Are you getting any specific error?
The one thing I see that could be troublesome in the formula is that you may want to remove the =sign before HL.
-
Mike,
Thank you, but that didn't do it.
-
For more insight on the Divide by Zero error see this. https://help.smartsheet.com/articles/2476176-formula-error-messages#toc--divide-by-zero
Have you tried using your formula within the sheet itself? I'd also try testing the COLLECT formula without the AVG formula to ensure you are getting data.
-
Thanks, I will try that next.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!