Calculation only if the field is not blank
I would like to conduct a simple division calculation, but only if the fields are not blank or if there is data in the fields. Because if there is no data in the field, then the division comes back as "#Divide by Zero". How can I avoid that?
=([# of Ambient device installed]@row * 100) / [# of Ambient device scoped]@row
Thanks so much for your assistance.
Best regards, Barbara
Best Answer
-
Hi @Barbara Witt,
you may use IFERROR
https://help.smartsheet.com/function/iferror
or you may use the IF function to check if a cell is empty or has a certain type of content.
Hope this helps
Stefan
Smartsheet Consulting, Solution Building, Training and Support.
Projects for Processes and for People.
Answers
-
Hi @Barbara Witt,
you may use IFERROR
https://help.smartsheet.com/function/iferror
or you may use the IF function to check if a cell is empty or has a certain type of content.
Hope this helps
Stefan
Smartsheet Consulting, Solution Building, Training and Support.
Projects for Processes and for People.
-
I very much appreciate your assistance. This worked perfectly. Best regards and Happy Valentine's Day.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 442 Global Discussions
- 154 Industry Talk
- 503 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 512 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!