Formula for status update using number of workdays until finish
I need help with a workday formula. I'm trying to get my status bubbles to update automatically based on the number of days until task completion. I've got it to work counting backward using all days with the formula below, but I can't figure out how to only count workdays. Any help is appreciated.
=IF([% Complete]@row = 1, "Blue", IF(TODAY() > Finish@row - 3, "Red", IF(TODAY() > Finish@row - 7, "Yellow", IF(TODAY() > Finish@row - 8, "Green"))))
Best Answer
-
I believe you can just use WORKDAYS.
IF(TODAY()>WORKDAYS(Finish@row, -3), "Red")
Answers
-
I believe you can just use WORKDAYS.
IF(TODAY()>WORKDAYS(Finish@row, -3), "Red")
-
Thanks Lucas. I had to change it to WORKDAY instead of WORKDAYS, but your suggestion worked.
=IF([% Complete]@row = 1, "Blue", IF(TODAY() > WORKDAY(Finish@row, -3), "Red", IF(TODAY() > WORKDAY(Finish@row, -7), "Yellow", "Green")))
-
Glad you got it working!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!