Objective
For each distrinct value, find the latest date in the second column and the corresponding text value in the third column.
I have three columns: Guest, Host and Report Date. For each guest, I need to find the corresponding host name for the latest date. Yet, each guest has multiple hosts on different dates. Here is an example:
Guest | Host | Report Date |
Server A | Host A | 12/1/2016 |
Server A | Host A | 12/5/2016 |
Server A | Host B | 12/19/2016 |
The last row is the value I want to return. The Guest list is about 20,000 long so I want to return for each distrinct guest, a host name and the latest report date.
Thank you,
Tim