How to display a NETDAY calculation as 0 when no dates are available?
I am calculating hold times on work requests. The column would be a hold start date to hold end date. The calculation for total hold time is in its own column. I am using =NETDAYS([Hold Start Date]@row, [Hold End Date]@row) to get the calculation. Sometimes, the request may NOT be placed on hold. In this case, I want the hold time time column to display the number 0. How can I write my formula to make this work?
Answers
-
Hi @stacybard:
=IF([Hold Start Date]@row="",0, NETDAYS([Hold Start Date]@row, [Hold End Date]@row))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 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!