At Risk with % Complete & Dates Formula
Oh formulas. . . I feel like I am close, but could use some help.
I would like the 'risk' flag to be marked if the data meets the following criteria:
% complete is equal to or less than 50% AND
The date is within 3 days; Today; or is in the past
=IF(AND(([% Complete]@row >= ".5"), (Finish@row >= TODAY(+3), Finish@row <= TODAY(), Finish@row = TODAY(-1) )), 1, 0)
@Paul Newcome you seem to know what you are doing. Thought I would tag you (been reading/searching a lot). ;-)
Best Answer
-
Haha. Thanks for the vote of confidence. Lets see what we can do here.
Because we have multiple criteria, we know we need to start with
=IF(AND(
First criteria is that [% Complete] is less than or equal to 50%
=IF(AND([% Complete]@row<= .5,
Next criteria is Finish is within the next 3 days, is today, or is in the past. Lets simplify this a little bit. Today is less than 3 days from now, and so is the past. So all we really need to say is that Finish is less than 3 days from today.
=IF(AND([% Complete]@row<= .5, Finish@row <= TODAY(3)
Since that is the last of our criteria, we can close out the AND which is the logical statement portion of our IF and finish off the rest of the formula.
=IF(AND([% Complete]@row<= .5, Finish@row <= TODAY(3)), 1)
Give that one a whirl and see if it works for you.
Answers
-
Haha. Thanks for the vote of confidence. Lets see what we can do here.
Because we have multiple criteria, we know we need to start with
=IF(AND(
First criteria is that [% Complete] is less than or equal to 50%
=IF(AND([% Complete]@row<= .5,
Next criteria is Finish is within the next 3 days, is today, or is in the past. Lets simplify this a little bit. Today is less than 3 days from now, and so is the past. So all we really need to say is that Finish is less than 3 days from today.
=IF(AND([% Complete]@row<= .5, Finish@row <= TODAY(3)
Since that is the last of our criteria, we can close out the AND which is the logical statement portion of our IF and finish off the rest of the formula.
=IF(AND([% Complete]@row<= .5, Finish@row <= TODAY(3)), 1)
Give that one a whirl and see if it works for you.
-
@Paul Newcome that worked. Thank you so very much!
-
Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!