Hi all,
I have a dataset like this :
| Activity | Start_date | End_date | Total number of days |
| Running | 01/01/17 | 01/01/17 | 1 |
| Dancing | 03/01/17 | 04/01/17 | 2 |
| Squash | 20/04/17 | 20/04/17 | 1 |
| Running | 23/04/17 | 25/04/17 | 3 |
and I want the output to be like this
| Activity | April | May | June | July | Aug | Sept | Oct | Dec | Jan |
| Running | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
| Dancing | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 |
| Squash | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
So it'll count the total number of days and put it according to the months. It starts at April due to the financial year.
Do you guys have ideas how to output it out like the table above?
Thanks!