Formula to return boolean looking at multiple date columns

Options

Hi

I need a formula that will look at three date columns and if any of them are date that isn't in the last 5 days, I want a boolean '1' returned.

This is what I've used:

=IF([Project Health RAG Last Updated]@row <TODAY(-5) OR(IF([Current Position Last Updated]@row <TODAY(-5), OR(IF([Next Actions Last Updated]@row <TODAY(-5), 1)))))

But it doesn't like it.

TIA

Cheryl

Tags:

Best Answer

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭
    Answer ✓
    Options

    That's because all three columns are blank so the MIN/COLLECT is not pulling anything in to compare to TODAY(-5).


    Try this to get rid of the error on rows where all three are blank...

    =IFERROR(IF(MIN(COLLECT([Project Health RAG Last Updated]@row:[Next Actions Last Updated]@row, [Project Health RAG Last Updated]@row:[Next Actions Last Updated]@row, @cell <> "")) < TODAY(-5), 1), "")

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!