How to add an and/or statement into a sheet formula
I'm a total noob when it comes to formulas and I was hoping someone could assist me with figuring out how to add an "and/or" portion into this formula:
=IF(AND([End Date]3 < TODAY(), NOT(Status3 = "Complete")), 1, 0)
Within the "Complete" portion I would like an "and/or" statement for "Cancelled". So that the "At Risk" column will not be flagged if the date isn't past due, or if the "Status" column is "Complete" or "Cancelled".
Best Answer
-
=IF(AND([End Date]@row < TODAY(), OR([Status]@row = "Complete", [Status]@row = "Cancelled" )), 0, 1)
Answers
-
=IF(AND([End Date]@row < TODAY(), OR([Status]@row = "Complete", [Status]@row = "Cancelled" )), 0, 1)
-
Worked like a charm! Thank you Sameer!
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
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!