Need to add an "OR" function to my formula
Hello.
I am currently using this formula to "flag" my At Risk column:
=IF(AND([End Date]@row <= TODAY(7), [End Date]@row >= TODAY(), [% Complete]@row <> 1), 1, 0)
It works great for the above but I need my flag to also turn red if/OR my Estimated Project Finish Date is beyond or greater than my End Date. Example: My project end date is set for 8/9/24 but my estimated end date is 9/3/24.
How do I add the "OR" function to this so it works properly?
Best Answer
-
Try:
=IF([Estimated Project Finish Date]@row > [End Date]@row, 1, IF(AND([End Date]@row <= TODAY(7), [End Date]@row >= TODAY(), [% Complete]@row <> 1), 1, 0)
Answers
-
Try:
=IF([Estimated Project Finish Date]@row > [End Date]@row, 1, IF(AND([End Date]@row <= TODAY(7), [End Date]@row >= TODAY(), [% Complete]@row <> 1), 1, 0)
-
You can nest IF statements together to check for one condition and then the other.
=IF([Estimated Project Finish Date]@row > [End Date]@row, 1, IF(AND([End Date]@row <= TODAY(7), [End Date]@row >= TODAY(), [% Complete]@row <> 1), 1, 0)) -
Thanks, @Nic Larsen and @Devin Lee ! You both provided the same formula and it works great! Thanks for the quick response as well!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 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!