Hello,
I have data similar to whats shown in the "Orig Data' table. I would like to pull unique Names only, based on two criteria (Start Date <= today AND End Date >= today. I would also like the data sorted (oldest to newest) based on the Name's corresponding End Date . My goal is to have a table similar to the 'Result' table below. I do not necessarily need the End Dates to be in an adjacent column, just need the Names sorted.
All duplicate Names will have the same Start Date and End Date.
Thank you very much in advance!
I have data similar to whats shown in the "Orig Data' table. I would like to pull unique Names only, based on two criteria (Start Date <= today AND End Date >= today. I would also like the data sorted (oldest to newest) based on the Name's corresponding End Date . My goal is to have a table similar to the 'Result' table below. I do not necessarily need the End Dates to be in an adjacent column, just need the Names sorted.
All duplicate Names will have the same Start Date and End Date.
Thank you very much in advance!
Orig Data | ||
Name | Start Date | End Date |
333 | 20-Nov | 24-Nov |
333 | 20-Nov | 24-Nov |
444 | 25-Nov | 10-Dec |
444 | 25-Nov | 10-Dec |
555 | 24-Nov | 5-Dec |
111 | 20-Nov | 20-Dec |
111 | 20-Nov | 20-Dec |
222 | 26-Nov | 26-Dec |
Result | |
Name | End Date |
555 | 5-Dec |
444 | 10-Dec |
111 | 20-Dec |
222 | 26-Dec |