Assistance with indicating a blank outcome

Hi there,

Please help!

I have a task tracking sheet.

Users can add a new task via a form. They can manage their tasks through a report filtered to them (I do not want them working on the master sheet).

When a task is closed I have the date completed (automatically captured).

However when someone adds a task in the form and closes it there and then the 'Date completed' is not captured.

I want to see how timely people are in managing their tasks.

For column Date Difference I have used the formula

=[Date Completed]@row - [End Date]@row

For column Timeliness Status I have used the formula

=IF([Date Difference]@row < 0, "Early", IF([Date Difference]@row = 0, "On Time", IF([Date Difference]@row > 1, "Late")))

I am stumped as to how to get the next bit right:

If "Status" is "Complete" and "Date complete" is blank then add 'NULL" to "Date Difference" and "On Time - Closed in Form" to Timeliness Status.



Thanks in advance!

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @Tamsyn

    I hope you're well and safe!

    Try something like this.

    In the Date Difference Column

    =IF(AND([Date Completed]@row = "", Status@row = "Complete"), "NULL", [Date Completed]@row - [End Date]@row)

    In the Timeliness Status Column

    =IF(AND([Date Completed]@row = "", Status@row = "Complete"), "On Time - Closed in Form", IF([Date Difference]@row < 0, "Early", IF([Date Difference]@row = 0, "On Time", IF([Date Difference]@row > 1, "Late"))))

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic weekend!

    Best,

    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!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

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

    W: www.workbold.com | E:andree@workbold.com | 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!