L
Legacy 109559
Guest
Hi,
I have the following data set where I have three columns: Name, Date and ID.
I am trying to identify the latest date against each name and in some cases where the dates are duplicated (as in case of John, 15/05/15) I want to be able to identify the name against latest date and highest ID value (looking at the numeric part of ID only).
so for John, I want to be able to identify with the help of formula in fourth column that this is the "newest" row to use. This way I can just filter the fourth column and get a unique row for each name with the latest date and highest ID.
I tried using this formula =IF(MAX(IF(A2=$A$2:$AB$11, $B$2:$B$11))=P2, "Newest", "") which works great if only max date was involved but I cannot figure out how to incorporate MAX ID in this formula as well to return "newest" against unique name
Name Date ID
John 15/05/2015 REF-137630
John 15/05/2015 REF-135755
John 04/05/2015 REF-135617
Alan 20/05/2015 REF-138261
Alan 19/05/2015 REF-138242
Alan 18/05/2015 REF-137820
Alan 07/05/2015 REF-136218
Adam17/08/2015 REF-153088
Adam23/06/2015 REF-144667
Adam13/05/2015 REF-137107
Thanks for your help.
KR
I have the following data set where I have three columns: Name, Date and ID.
I am trying to identify the latest date against each name and in some cases where the dates are duplicated (as in case of John, 15/05/15) I want to be able to identify the name against latest date and highest ID value (looking at the numeric part of ID only).
so for John, I want to be able to identify with the help of formula in fourth column that this is the "newest" row to use. This way I can just filter the fourth column and get a unique row for each name with the latest date and highest ID.
I tried using this formula =IF(MAX(IF(A2=$A$2:$AB$11, $B$2:$B$11))=P2, "Newest", "") which works great if only max date was involved but I cannot figure out how to incorporate MAX ID in this formula as well to return "newest" against unique name
Name Date ID
John 15/05/2015 REF-137630
John 15/05/2015 REF-135755
John 04/05/2015 REF-135617
Alan 20/05/2015 REF-138261
Alan 19/05/2015 REF-138242
Alan 18/05/2015 REF-137820
Alan 07/05/2015 REF-136218
Adam17/08/2015 REF-153088
Adam23/06/2015 REF-144667
Adam13/05/2015 REF-137107
Thanks for your help.
KR