Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

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

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.

Thanks!

Answers

  • ✭✭✭✭✭✭

    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

  • ✭✭
    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!

Trending in Formulas and Functions