Hello everyone and a happy new year!
I have in SharePoint a column with the formula below which calculates the week number based on another column (Date Réelle (Fin action).
=IF(INT(([Date Réelle (Fin action)]-DATE(YEAR([Date Réelle (Fin action)]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Réelle (Fin action)]),1,1)-2),"d")))/7)=0,1,INT(([Date Réelle (Fin action)]-DATE(YEAR([Date Réelle (Fin action)]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Réelle (Fin action)]),1,1)-2),"d")))/7))
It worked very well until this year. In 2024 for example the day 15 Jan 2024 which is Monday it's alocated to week 2 instead of 3. and so on each week starts with Tuesday (Mondays reamain to the previous week). Cand someone please help me adjust my formula?
Thank you!
I have in SharePoint a column with the formula below which calculates the week number based on another column (Date Réelle (Fin action).
=IF(INT(([Date Réelle (Fin action)]-DATE(YEAR([Date Réelle (Fin action)]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Réelle (Fin action)]),1,1)-2),"d")))/7)=0,1,INT(([Date Réelle (Fin action)]-DATE(YEAR([Date Réelle (Fin action)]),1,1)+(TEXT(WEEKDAY(DATE(YEAR([Date Réelle (Fin action)]),1,1)-2),"d")))/7))
It worked very well until this year. In 2024 for example the day 15 Jan 2024 which is Monday it's alocated to week 2 instead of 3. and so on each week starts with Tuesday (Mondays reamain to the previous week). Cand someone please help me adjust my formula?
Thank you!