Excel – How to filter for unique values using the most recent Date in a specific column

microsoft excel

I have 10K rows of data, some with multiple rows per employee, I need to filter by unique values by using the employee ID# in 1st column, but filter using the most recent date in another column. I am using Excel 2010. Is there a formula for this?

Example:

ID         NAME      ACT DATE         SALARY
123     JOE SMITH    01/02/2012      20000
123     JOE SMITH    02/01/2013      20000

I would only want to see the 2nd row of data for this employee because the act date is the most recent.

EDIT In other words, I want to be able to filter the results of a previous filter.

Best Answer

Select your entire sheet. Use the Sort function and choose the date column you want. Then order it from newest to oldest, press OK. Keep the entire sheet selected, now to to Remove Duplicates, unselect all columns and then choose the column you need unique values from. This method will put all newest dates at the top when it removes the duplicates, you're left with unique values that match to the top most (recent dates).