How do I calculate an overdue date?
I have three potential approval date columns. How do I calculate the true overdue time in days?
My current formula doesn't account for approval dates 1, 2, or 3 being populated to signal completion...
=IF([Due Date]@row <= TODAY(), NETWORKDAYS([Due Date]@row, TODAY()) - 1, "")
Best Answers
-
Ok. It is the placement of the ROUND function. Instead of putting it around the entire IF, only put it around the NETWORKDAYS function.
-
Try also formatting the column to not show decimals and make sure it is the same across every single sheet. If you missed even one, the report will definitely show decimals.
Answers
-
Are you able to provide some screenshots for context?
-
I think I figured it out!
=IF(AND(ISBLANK([Date Round 1 Approved]@row), (ISBLANK([Round 2 Approval Status]@row)), ISBLANK([Final Approval Status]@row)), IF([Due Date]@row <= TODAY(), NETWORKDAYS([Due Date]@row, TODAY()) - 1, ""))
-
Glad you were able to get it working. 👍
-
Thank you, @Paul Newcome! I think this will capture the days overdue...I'd like to round it to not have decimals, but I'm getting zeroes where I should have blanks. Do you have a suggestion for how to approach this?
-
What is the updated formula for rounding?
-
The updated formula is:
=IFERROR(ROUND(IF(AND(ISBLANK([Date Round 1 Approved]@row), (ISBLANK([Round 2 Approval Status]@row)), ISBLANK([Final Approval Status]@row)), IF([Due Date]@row <= TODAY(), NETWORKDAYS([Due Date]@row, TODAY()) - 1, ""))), "")
To recap, I'd like to know the average number of days a request is overdue (in whole days).
-
Ok. It is the placement of the ROUND function. Instead of putting it around the entire IF, only put it around the NETWORKDAYS function.
-
Thank you, @Paul Newcome! I think this is working properly on the sheet side!
I'm still seeing decimals in the report and subsequent dashboards. There's no way to fix that, right?
-
Try also formatting the column to not show decimals and make sure it is the same across every single sheet. If you missed even one, the report will definitely show decimals.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 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!