Slight error in formula

Hi All,

You may be able to shine some light on my formula issue. I have implemented the formula below which flags when 'Due date on site' is in the past and 'Item Closed is not checked, but does not flag if the date fields are blank.

The problem arises when I tick the items closed, it produces a #Invalid data type where it should just unflag.

The formula is working for me in so much as I am using the flag as a report trigger, but I would like to have it clean.

=IF(ISBLANK([Date Due On SIte]@row), 0, IF(AND([Date Due On SIte]@row < TODAY(), IF([Item Closed]@row = 0, 1)), 1))

Thanks in advance,

John

Best Answer

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!