#Invalid Operation

edited 12/09/19 in Formulas and Functions
05/30/19 Edited 12/09/19

Hello,

 

I have this formula:

=IF(AND([Completion Date]@row = "", [Date Range End]@row < TODAY()), "Past Due", "ALL DONE")

I've tried a few things but I keep getting invalid operation, and I'm sure it's something foolish and easy but I can't seem to figure it out.

 

Tahnk you-

 

Comments

  • Mike WildayMike Wilday ✭✭✭✭✭

    This is a weird one. Are your column names accurate?  Very weird indeed. I would report this one to smartsheet support. 



    https://app.smartsheet.com/b/response?type=11&_ga=2.160561018.65390117.1559058841-61535698.1548289777

  • So my formula is correct? All the column names are correct. It's driving me nuts!

    pic1.JPG

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    Are you trying to get it to display text or leave blank since there is no data in the row?

     

    If you are wanting to leave it blank since there is no data, you could build an additional IF statement on the front end saying to run if (for example) [Date Range End]@row is a date.

     

    =IF(ISDATE([Date Range End]@row), IF(AND([Completion Date]@row = "", [Date Range End]@row < TODAY()), "Past Due", "ALL DONE"), "")

  • Mike WildayMike Wilday ✭✭✭✭✭

    =IF(AND(ISBLANK([Completion Date]@row), [Date Range End]@row < TODAY()), "Past Due", "ALL DONE")

    Try this modification. 

  • Hi Paul,

    This worked perfectly, thank you so much. Now I understand what I wasn't doing correctly.

     

    Thank you!

  • Paul NewcomePaul Newcome ✭✭✭✭✭

    Happy to help! yes

Sign In or Register to comment.