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.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 301 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!