How do I create an if blank then this and if populated then that statement?

Hello! Below is my current formula for a column to calculate days behind.

=[Planned Start Date]@row - TODAY()

The problem is we want this sheet to be accurate without having to have cells have different formulas.

What I would like it to calculate is IF [Actual Start Date]@row is populated, then [Planned Start Date]@row - [Actual Start Date]@row. IF [Actual Start Date]@row ISBLANK, then  [Planned Start Date]@row - TODAY.

Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @AMcElfresh

    I hope you're well and safe!

    Try something like this.

    =IF([Actual Start Date]@row <> "", [Planned Start Date]@row - [Actual Start Date]@row, [Planned Start Date]@row - TODAY())

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic weekend!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!


    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: | | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.


Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!