I have a range of dates and associated data. I would like to find the date of the maximum value for each month, the following simple table hopefully shows this:
So, assuming I wanted the date of the max value for March, the answer I require is 22/03/1992.
Can anyone offer a solution. Thank you.
07/01/1992 | 1 |
08/01/1992 | 5 |
09/01/1992 | 1 |
10/01/1992 | 1 |
07/02/1992 | 1 |
08/02/1992 | 1 |
09/02/1992 | 2 |
10/02/1992 | 1 |
20/03/1992 | 1 |
21/03/1992 | 1 |
22/03/1992 | 4 |
23/03/1992 | 3 |
01/04/1992 | 1 |
02/04/1992 | 1 |
03/04/1992 | 4 |
04/04/1992 | 1 |
So, assuming I wanted the date of the max value for March, the answer I require is 22/03/1992.
Can anyone offer a solution. Thank you.