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.

If formula with Date and Time

Hi. I created the formula below to close a dynamic view on Oct.30th.

=IF(TODAY() <= DATE(2024, 10, 30), "Open View", "Lock View")

How do I adjust that formula so that the view can be locked at 5pm on that day?

Tags:

Best Answer

  • Community Champion
    Answer ✓

    Hi @User251

    You can create a helper checkbox column and an automation workflow that checks this box at 5 pm on the last working day or a specific day (which will be your trigger). You can then modify the formula as =IF(AND(TODAY() <= DATE(2024, 10, 30), [Helper column]@row = true), "Open View", "Lock View")

    Thanks,

    Aravind GP| Delivery Manager

    Atturra Data & Integration

    M: +61493337445

    E:Aravind.GP@atturra.com

    W: www.atturra.com

Answers

  • Community Champion
    Answer ✓

    Hi @User251

    You can create a helper checkbox column and an automation workflow that checks this box at 5 pm on the last working day or a specific day (which will be your trigger). You can then modify the formula as =IF(AND(TODAY() <= DATE(2024, 10, 30), [Helper column]@row = true), "Open View", "Lock View")

    Thanks,

    Aravind GP| Delivery Manager

    Atturra Data & Integration

    M: +61493337445

    E:Aravind.GP@atturra.com

    W: www.atturra.com

  • ✭✭✭✭✭

    @AravindGP Thank you so much! Very good idea!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions