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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 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!