I have this type of strings
DECW42012 JANW12013 JANW22013 JANW32013 JANW42013 JANW52013 FEBW12013
Can i somehow get week number (not in month but in year) from that string ?
Should do the trick.
You could start with the following,
The WEEKNUM function has an optional return_type parameter that I have not implemented and that is one that you should pay close attention to if you wish to get the correct returns for your week numbe schedule.
Edited: dropped the week-of-month by 1 before multiplication