If Dates Error

Options

I want the actual date to reflect the due date only if it's not pushed. The formula I have produces #INVALID OPERATION. TIA

Best Answer

  • bisaacs
    bisaacs ✭✭✭✭✭
    Answer ✓
    Options

    Hey @LeoCicio,

    You're trying to compare a date to a number, which is why you're getting the INVALID OPERATION error.

    In the logical operation part of the IF statement, change that to using NOT(ISBLANK()):

    =IF(NOT(ISBLANK([Push Due Date]@row)), [Push Due Date]@row, [Due Date]@row)

    Hope this helps!

    If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!

    I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!

Answers

  • bisaacs
    bisaacs ✭✭✭✭✭
    Answer ✓
    Options

    Hey @LeoCicio,

    You're trying to compare a date to a number, which is why you're getting the INVALID OPERATION error.

    In the logical operation part of the IF statement, change that to using NOT(ISBLANK()):

    =IF(NOT(ISBLANK([Push Due Date]@row)), [Push Due Date]@row, [Due Date]@row)

    Hope this helps!

    If my response was helpful in any way (or answered your question) please be sure to upvote it, mark it as awesome, or mark it as the accepted answer!

    I'm always looking to connect with other industry professionals, feel free to connect with me on LinkedIn as well!

  • LeoCicio
    Options

    That worked flawless. Thank you!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!