Hi,
I am trying to generate all weeks for each year between two periods.
| input | | output expected | | |
| | | | | |
| Date | | First_day_week (Monday) | Year | Week |
| 28/12/2016 | | 26/12/2016 | 2016 | 52 |
| 29/03/2017 | | 02/01/2017 | 2017 | 1 |
| 25/04/2017 | | … | … | … |
| 22/05/2020 | | 11/05/2020 | 2020 | 20 |
| | | 18/05/2020 | 2020 | 21 |
Thank you for your help,
Andre