IF/AND Formula with Dates

I get a #UNPARSEABLE error on his formula.

[Permit Agency Approved] is a date only column

[Permit Agency Approved (F)] is a date only column

=IF(AND(ISBLANK([Permit Agency Approved]9)), [Permit Agency Approved (F)]9 < TODAY, "Review","None")

What I would like to accomplish is,

If the [Permit Agency Approved] column is blank and the [Permit Agency Approved (F)] is in the past, then I want to report back that is needs to be Reviewed, else just status as None.

Can someone help me as to why the above formula is unparseable?

Thanks for any suggestions people may have.

Comments

  • Soon as I posted I noticed I was missing brackets after TODAY.

    Added them, now I get the error #INCORRECT ARGUMENT SET with this formula.

    =IF(AND(ISBLANK([Permit Agency Approved]9)), [Permit Agency Approved (F)]9 < TODAY(), "Review","None")

  • L_123
    L_123 ✭✭✭✭✭✭

    =IF(AND(ISBLANK([Permit Agency Approved]9), [Permit Agency Approved (F)]9 < TODAY()), "Review","None")

  • Thanks Luke, that definitely fixed the #UNPARSEABLE problem but not the logic.

    I have a row where the [Permit Agency Approved] is filled in (so it wasn't blank) yet the formula continued and looked at the  [Permit Agency Approved (F)] date.     

    Since that date was in the past it flagged it as "Review".   And it shouldn't, because the Permit is already approved.  I had expected the logic would stop and it would populate None.

    Do you have any insight into how I can correct the logic of the formula that if both columns have a date, I want it to report back none.

    I suspect I will need to add another column to status the permit as "Approved", "Not Approved" and create an IF statement to only run on Not Approved.  But it sure would be nice to not have to clutter the sheet with another column.

     

  • L_123
    L_123 ✭✭✭✭✭✭

    That formula should pop back "None" anytime there is a value inside of the first reference column. It sounds like some sort of glitch, or maybe a copy error when transcribing the formulas. Try refreshing your page, sometimes the program takes a moment to update. I went ahead and built this to prove that the formula works, and it seems to have the expected behavior.

     

    https://app.smartsheet.com/b/publish?EQBCT=3efd943563144b618389bbe2cfa877bf

  • Thank you very much Luke.

    Yes, I saved and it came back as expected.

    Have a great weekend.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!