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.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 62 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 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!