Hi Kislany,
There are many different ways how to achieve that.
Attached is a very simple example.
If you change the week-number (last) in A3, the output table will change accordingly.
You can create a chart based on the output table.
Best regards
Wolf