Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

MIN date when checkbox is not checked

Madeline Brannen
Madeline Brannen โœญโœญ
edited 12/09/19 in Archived 2016 Posts

Hello,

I am looking for a formula that will give me the upcoming date (I am using the MIN function for this) in a range of dates when my checkbox column ("Done") is not checked.

ย 

The context we are using this in is that we would like to show the next task that is not already completed.

ย 

This is what I have so far and cannot figure out how to get this to work correctly:

ย 

=IF(Done74:Done84 = 0, MIN([Scheduled Due Date]74:[Scheduled Due Date]84))

ย 

ย 

ย 

Any and all direction would be appreciated! Thank you!

Comments

  • Atus Bartal
    Atus Bartal โœญโœญโœญโœญโœญโœญ

    Hi Madeline,

    I guess you cannot solve this in one step (there is no "MINIF" formula ย :)

    What I would do is to create another date column that consists of scheduled due dates for non-complete tasks only:ย 

    =IF(Done74 = 0, [Scheduled Due Date]74, "") ย  [this would be the formula in each row]

    In the next step I would look for the "minimum" date in this column:

    =MIN(Newcolumn:Newcolumn) ย  ย  ย  [supposing "Newcolumn" is the name of the column]

    ...this way you'll get the upcoming date.

    I hope this is what you're looking for.

    ย 

    Atus

    ย 

    ย 

  • Madeline Brannen
    Madeline Brannen โœญโœญ

    Thank you so much Atus. This is exactly what I needed. I was trying not to add a column, but the formula you provided works beautifully, so I will use it!

This discussion has been closed.