JohnTopley: thank you so much for max and min formula.

I have small query suppose in B2 is month and year how do achieve the same result.Its really helpful i have avoid one additional column.

B2 is like Mar-17, April-17, Mar-18.