# IF and IS BLANK to check dates

Options

Hi Smartsheet community,

I have three columns: Late (Y/N), Due Date, and Submission Closed Date. In the Late (Y/N), I have a formula to first check if the Due Date has passed the Submission Closed Date. If it is then, "yes" is filled in the Late (Y/N) column. If the Submission Closed Date is blank, then it checks to see if the Due Date has passed today's date. Again, if it is, then "yes" is filled in the column. If not on both checks, it fills "No" in the Late (Y/N) column.

I tried this but I get an #Incorrect Argument error.

=IF(ISBLANK([Submission Closed Date]@row, [Due Date]@row > [Submission Closed Date]@row, [Due Date]@row > TODAY()), "Yes", "No")

I'd appreciate any help.

Thanks,

Glenn

• ✭✭✭✭✭✭
Options

=IF(AND(ISDATE([Submission Closed date]@row),ISDATE([Due date]@row)), IF( [Due Date]@row > TODAY()), "Yes", IF(ISBLANK([Submission Closed Date]@row), IF([Due Date]@row > today(), "yes", "No")))

Mark

I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

• ✭✭✭✭✭✭
Options

=IF(AND(ISDATE([Submission Closed date]@row),ISDATE([Due date]@row)), IF( [Due Date]@row > TODAY()), "Yes", IF(ISBLANK([Submission Closed Date]@row), IF([Due Date]@row > today(), "yes", "No")))

Mark

I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

• Options

Hi Mark,

Thanks for your answer. This formula didn't work but it got me thinking and I was able to resolve with this solution -

=IF(OR(ISDATE([Submission Closed Date]@row) > ISDATE([Due Date]@row), AND(ISBLANK([Submission Closed Date]@row), TODAY() > [Due Date]@row)), "Yes", "No")