Raise flag if due date is within 30 days

kiani ✭✭
edited 12/09/19 in Formulas and Functions

Hi There 

I'm very new to smartsheet so for you this might be a very simple thing. I'll appreciate if someone let me know what'd be the formula if I want to raise a flag whenever the due date is 30 days from the current date. We'll appreciate your help.


Raashid K




  • Mike Wilday
    Mike Wilday ✭✭✭✭✭✭

    Hi there, 

    If you add this formula to the flag column you can achieve the results you are looking for. 

    =IF(And([Due Date]@row <=Today(30), [Due Date]@row >=Today()), 1, 0)

    You just need to replace the word Due Date within the brackets with the name of your Due date column. 


  • Royce
    Royce ✭✭✭

    I'm not using the flags because my viewers tend to overlook them.  I'm using Conditional Formatting so the Finish Date (Due Date) cell is highlighted.  Sample below.

    "If Finish Date is in the next 30 days then apply this format to the Finish Date column"

    Hope this helps.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!