Hi there,
I'm having another head banging moment.
I have a sheet where we track all project comments. There are 3 different types of comments (Program, Project and financial)
I am trying to return a comment, where Comment Type = any of the above, and show me the Most Recent Comment of that type.
I came up with the formula below, which doesn't quite work.
=INDEX(COLLECT({Comment}, {Type}, "Project status report", {Date}, MAX({Date})), 1)
It works if the most recent date aligns with the status you are trying to find (i.e. project status is the most recent comment). I then want to get the most recent of the 3 program report comments, but as this isn't the highest date in the sheet it doesn't work. It then returns #invalid value.
Essentially I am trying to get the most recent comment of type X. Do I need to complete a nested Index(Collect) statement?
Thanks in advance