IF AND OR Assistance
I'm trying to write a formula that determines if a task is at risk, so the [At Risk} column can be updated for automated dashboard reporting.
The formula's I'm trying to combine, logically, flow like this:
If [Start Date] is Less than or equal to today AND [Status] is not equal to "Complete" or "On track", then [At Risk] = Y.
Or, if [End Date] is Less than or equal to today and [Status] is not equal to Complete, then [At Risk} = Y.
I can get one leg of the first formula to work independently, but I'm failing to understand how to combine both "Complete" and "On Track" on the first leg. And then, I'm failing to understand how to add the [End Date] segment of the formula to the first, so it checks both for [Risk] being "Y".
I can get to the point were these two formula's work:
=IF(AND([Start Date]@row <= TODAY(), (Status@row <> "Complete")), "Y", " ")
=IF(AND([End Date]@row <= TODAY(), (Status@row <> "Complete")), "Y", " ")
Best Answer
-
Hi @Miller39,
See if this does what you need.
=IF(AND([Start Date]@row <= TODAY(), Status@row <> "Complete", Status@row <> "On Track"), "Y", IF(AND([End Date]@row <= TODAY(), (Status@row <> "Complete")), "Y", " "))
Hope this helps,
Dave
Answers
-
Hi @Miller39,
See if this does what you need.
=IF(AND([Start Date]@row <= TODAY(), Status@row <> "Complete", Status@row <> "On Track"), "Y", IF(AND([End Date]@row <= TODAY(), (Status@row <> "Complete")), "Y", " "))
Hope this helps,
Dave
-
Thank you very much @DKazatsky2. Excellent solution. I am very grateful.
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!