Hi all
I have a problem that I’m stuck with and I cannot for the life of me come up with a formula that works!
I have a data set that is duplicating on ID number as there is more than one expiry date per ID.
I’m after a formula that would look up each ID number in column A but bring back the most recent expiry date.
[TABLE="width: 610"]
<tbody>[TR]
[TD]
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]ID Number
[/TD]
[TD]Expiry Date
[/TD]
[TD]Formula to bring back most recent expiry date per ID number????
[/TD]
[TD]Expected result
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]01
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]01
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]01
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]02
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]02
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]02
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]03
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]03
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]03
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
</tbody>[/TABLE]
My ideal result would be a separate pivot table (or something along the lines!) that would show the following –
[TABLE="width: 129"]
<tbody>[TR]
[TD]01
[/TD]
[TD]01/01/2014
[/TD]
[/TR]
[TR]
[TD]02
[/TD]
[TD]01/01/2015
[/TD]
[/TR]
[TR]
[TD]03
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated!
Cheers
Lee
I have a problem that I’m stuck with and I cannot for the life of me come up with a formula that works!
I have a data set that is duplicating on ID number as there is more than one expiry date per ID.
I’m after a formula that would look up each ID number in column A but bring back the most recent expiry date.
[TABLE="width: 610"]
<tbody>[TR]
[TD]
[/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]ID Number
[/TD]
[TD]Expiry Date
[/TD]
[TD]Formula to bring back most recent expiry date per ID number????
[/TD]
[TD]Expected result
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]01
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]01
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]01
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]02
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]02
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]02
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]03
[/TD]
[TD]01/01/2014
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]03
[/TD]
[TD]01/01/2015
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]03
[/TD]
[TD]01/01/2016
[/TD]
[TD]
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
</tbody>[/TABLE]
My ideal result would be a separate pivot table (or something along the lines!) that would show the following –
[TABLE="width: 129"]
<tbody>[TR]
[TD]01
[/TD]
[TD]01/01/2014
[/TD]
[/TR]
[TR]
[TD]02
[/TD]
[TD]01/01/2015
[/TD]
[/TR]
[TR]
[TD]03
[/TD]
[TD]01/01/2016
[/TD]
[/TR]
</tbody>[/TABLE]
Any help would be greatly appreciated!
Cheers
Lee