Status Update for Most Recent Entry in Child Rows

I'm looking to pull the "Action By" result from the most recently edited (Auto-Populated "Modified" column) Child Row and pull that Action into the "Action By" column in the (sometimes Grand)Parent Row.


I have tried IndexCollect and IndexMatch and can't quite get them to work. I've also tried to use a Max (which is why there's a Most Recent Update column) But couldn't figure out how to get that to work either.

Best Answer

  • leslie.g
    leslie.g ✭✭✭
    Answer ✓

    I figured it out but want to leave the solution for those that may have the same issue -

    I added the Most Recent Update to pull the most recent date of any of the descendant rows: f[Most Recent Update]=MAX(DESCENDANTS([Date Received]@row))

    Then used that as the criterion for the Collect:

    f[ACTION BY (formula)] =INDEX(COLLECT(DESCENDANTS([ACTION BY (formula)]@row), DESCENDANTS([Date Received]@row), [Most Recent Update]@row), 1)

Answers

  • leslie.g
    leslie.g ✭✭✭
    Answer ✓

    I figured it out but want to leave the solution for those that may have the same issue -

    I added the Most Recent Update to pull the most recent date of any of the descendant rows: f[Most Recent Update]=MAX(DESCENDANTS([Date Received]@row))

    Then used that as the criterion for the Collect:

    f[ACTION BY (formula)] =INDEX(COLLECT(DESCENDANTS([ACTION BY (formula)]@row), DESCENDANTS([Date Received]@row), [Most Recent Update]@row), 1)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!