Formula from Excel Help

Hello community, I cannot figure out why this formula is #UNPARSEABLE in Smartsheet when it works perfectly in Excel. The intent is to show the amount of days left before/after "Due Date" [Column5].

EXCEL

=IF(E2="","",IF(E2<TODAY(),-DATEDIF(E2,TODAY(),"d"),DATEDIF(TODAY(),E2,"d")))

SMARTSHEET

=IF([Column5]2="","",IF([Column5]2<TODAY(),-DATEDIF([Column5]2,TODAY(),"d"),DATEDIF(TODAY(),[Column5]2,"d")))

Help please!!!

Tags:

Answers

  • David Tutwiler
    David Tutwiler Overachievers Alumni

    I think Smartsheet makes this loads simpler and doesn't require all the checks. If you're just looking for days before/after a Due Date then you should just need:

    =[Column5]@row - TODAY()


    Would that work for what you need?

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!