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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!