Given a Google spreadsheet like this:
I would like to create a query that shows only the most recent row for each unique name, so the results would look like this:
What would that query look like?
google sheets
Given a Google spreadsheet like this:
I would like to create a query that shows only the most recent row for each unique name, so the results would look like this:
What would that query look like?
Best Answer
Maybe give this a try:
Explanation
will create a new (virtual array), consisting of 4 columns: 1 column with the row numbers + 3 columns of the original table (but sorted, so that the 'latest' dates will be at the bottom of the table)
The query selects the max row number (col1) (per name (group by Col4)).