Hi
Not so clear… a screen copy would help. I understand you have one issue to visualise the result and another to extract the results.
Assuming the data are flattened in a date format (if not, flatten the months columns) I suggest to proceed as shown in the picture below to solve both issues.
I hope it helps