If/And/Or

These are the bane of my existance.....

In plain English:

If status is either complete or remove and the due date is in the past, do not check the overdue box, otherwise if status is not complete/remove and due date is in the past check the box.

I have tried a number of combinations and I am not getting the expected results.

=IF(AND([Due Date]@row <= TODAY(), OR(Status@row <> "Complete", Status@row <> "Remove")), 0, 1) - checks all boxes that are NOT overdue

=IF(AND([Due Date]@row <= TODAY(), OR(Status@row = "Complete", Status@row = "Remove")), 1, 0) - checks the overdue boxes for complete/remove but not in progress and hold

=IF(AND([Due Date]@row <= TODAY(), OR(Status@row = "Complete", Status@row = "Remove")), 0, 1) checks complete/remove that are not overdue as well as hold/in progress overdue and not overdue

=IF(AND([Due Date]@row <= TODAY(), OR(Status@row <> "Complete", Status@row <> "Remove")), 1, 0) check all overdue including complete/remove

These are just samples of our status options, we have several, but do not want complete/remove checked when overdue, but would like the others.

I am sure it is a simple change.....thank you

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!