Formula not working

I'm trying to add a column that indicates if a line item is urgent or not. Urgent meaning the due date is past or within the next 5 days. The formula I am using is

=(cell with due date)<=TODAY(5)

I keep getting an error message #INVALUD COLUMN VALUE. My column type is set to text/number.

Tags:

Answers

  • DKazatsky2
    DKazatsky2 ✭✭✭✭✭

    Hi @NHF1882,

    You are getting that error because the formula you are displaying is going to return a "date" value but your column is set to "text/number". You need to use an IF function to evaluate the date and return the value you want.

    =IF([date@row] <= TODAY(5), value if true, value if false)

    Hope this helps,

    Dave

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!