Help with count of days returning as a negative number
Hi there,
I have a formula that counts the number of days between the received date of a request and the completion date:
=IF(Status@row <> "Complete", NETWORKDAY([Received Date]@row, TODAY()), NETWORKDAY([Received Date]@row, [Completed Date]@row))
So once the "Status" of the request has been changed to "Complete" it displays the number of days, however we have negative numbers being displayed as well - what do I need to add to the existing formula to make those negative numbers show up simply as 0?
Thank you!
Best Answer
-
This should do the trick:
=IF(Status@row <> "Complete", NETWORKDAY([Received Date]@row, TODAY()), IF(NETWORKDAY([Received Date]@row, [Completed Date]@row) < 0, 0, NETWORKDAY([Received Date]@row, [Completed Date]@row))
Answers
-
This should do the trick:
=IF(Status@row <> "Complete", NETWORKDAY([Received Date]@row, TODAY()), IF(NETWORKDAY([Received Date]@row, [Completed Date]@row) < 0, 0, NETWORKDAY([Received Date]@row, [Completed Date]@row))
-
@Carson Penticuff That worked - thank you! :)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!