How can I add days to a date field within a logic formula to output a true/false value for a chkbox?

Options

My objective is to create a new column where a box is checked once the row meets desired criteria. The checkbox will help me filter-out rows that will be synced via a Salesforce Connector workflow.

The logic criteria is as follows:

  • "Overall Status" = Blue (complete)….and….
  • "Working Launch" Date + 7 Days </= Today's date

So, if a project is complete, and the launch date plus 7 days is a date in the past, the box will be checked.

Note, the Working Launch column is a Date field and restrict to date is turned on.

image.png

Thanks!

Answers

  • Darla Brown
    Darla Brown Overachievers Alumni

    Hi,

    Try this:

    =IF(AND([Overall Status]@row = "Blue", [Working Launch]@row <= TODAY()), 1, 0)

    Darla Brown

    What you meditate on, you empower!

    Overachiever - Core Product Certified - Mobilizer - EAP

  • sblackmarr
    sblackmarr ✭✭
    edited 10/17/24

    Thank you @Darla Brown! This formula works well. I didn't realize I could add a "-7" to the TODAY () expression to give me the delay I was looking for. Research on the TODAY function revealed that answer. Appreciate your help!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!