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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!