How to return min value with a condition


I have two columns, "Days Till Training Completion" & "Destination Shift".

I am trying to return the lowest number for "Days Till Training Completion" by shift to show the number of days before another Team Member is ready to go for each shift.

This is what I have tried so far:

=IF(MIN([days till training completion]:[days till training completion])[destination shift]:[destination shift]="1",,)

Not sure how to get this to work, any help would be greatly appreciated!

Best Answer

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

    Hi @Dave from JBM

    I hope you're well and safe!

    Try something like this.

    =MIN(COLLECT([Days till training completion]:[Days till training completion], [Destination shift]:[Destination shift], 1))

    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!