Hello All
I have some items in A:A range and a Date in B:B Range
Some items are repeated for example Eggs, Bread…etc.
In cell M1 I want to find the last matching value (which I put in cell L1 – for example I put Eggs)
And how to find the date related to last matching value (eggs) and to put the date in Cell N1.
Another question: what I need to change in the formula given to find the value before the last (if I put the same item eggs) and its related date.
Example:
A1 B1
1 Eggs 12/3/2016
1 Bread 15/3/2016
1 Eggs 17/3/2016
1 Fish 18/3/2016
1 Eggs 19/3/2016
1 Fish 19/3/2016
-------------------------------
The answer will be:
Last value (for eggs) =
A1 B1
Eggs 19/3/2016
-------------------------------
Value before the last (for eggs) =
A1 B1
1 Eggs 17/3/2016
-------------------------------
I hope it is clear
Bookmarks