Hello! I am working on a formula to pull an ID for the row that has the LatestDate, and a checkbox is ticked. As there may be more than one matching row with these parameters, FROM those I need to return the ID for the row with the most recent CreatedDate. This will yield a maximum of one result.
This is the formula that returns a #NO MATCH (Note that values in { } represent the ranges)
=INDEX(
COLLECT({ID},
{LatestUpdate}, MAX({LatestUpdate}),
{Checkbox}, 1),
MATCH(MAX(COLLECT({CreatedDate},
{LatestUpdate}, MAX({LatestUpdate}),
{Checkbox}, 1)
),
COLLECT({CreatedDate},
{LatestUpdate}, MAX({LatestUpdate}),
{Checkbox}, 1),
0))
Here is the data:
The value that should be returned is 018.
Thanks in advance for any insight!
LJ.