I have an Excel spreadsheet with two columns, the first with dates and the second with values. The dates span over several years. I want to write a function that retrieves the maximum value for each year.
For example, in the following data set: June 3, 2009 3 June 5, 2009 5 January 1, 2010 7 July 7, 2010 1 April 1, 2013 12 May 2, 2013 77
The function for the year 2009 would return the value 3 The function for the year 2010 would return the value 7 The function for the year 2013 would return the value 77
All of the dates are in column A All of the values are in column E In column J I have a list of years needed, i.e. J1 = 2009, J2 = 2010, J3 = 2011, etc.
the function for each year is located in column K corresponding to the year in column J, i.e. the maximum value for 2009 is in cell K1, the maximum value for 2010 is in cell K2, etc.
I believe this function should look something like: =MAX(some type of function that gives me the range of dates per year)
Thanks for all the help