This is continuation of my other question How to convert Quarter years to other format
Ok so now I need to convert some more stuff :)
I need to convert YYYY-MM to YYWW ex. 2022-10 to 2241 // week 41 because that is halfway through 0ctober.
I also need w.YYWW to become just YYWW and v.YYWW to YYWW which is week in swedish (vecka)
And last but not least I need it to have the convertion from my previous question which was YYYY-Quarter(1234) to YYWW This is the code I used for that
=1*IF(ISNUMBER(-A1),A1,MID(A1,3,2) & CHOOSE(RIGHT(A1,1),"08",20,33,46))
Best case scenario would be if 1 formula could convert all of these into YYWW because I am referencing that cell for my timeline to work.¨
Week of month to take. I just took the week of the day 15 in every month. You can just take them 4 weeks apart or whatever method u might use. The exact week or date is not needed just take something close to the middle of the month.
1 january 02
2 February 07
3 March 11
4 April 15
5 May 19
6 June 24
7 July 28
8 Aug 33
9 Sep 37
10 Oct 41
11 Nov 45
12 Dec 49
ex. 2019-05 becomes 1919
2023-11 becomes 2345
2016-08 becomes 1633