James Carlo Cruz
Member
Hi All,
Good day! Hope you are well, I found this site helpful specially with the help of Narayan and Azumi.
I wanted to ask if there are formula that could be working for my concern?
No matter what month, it should be divided into five weeks.

I have created a formula : =TEXT(IF(MONTH($D2-WEEKDAY($D2)+1)<>MONTH(D2),$D2,$D2-WEEKDAY($D2)+1),"Mmm dd")&"-"&TEXT(IF(MONTH($D2)<>MONTH($D2+6),DATE(YEAR($D2),MONTH($D2)+1,1)-1,$D2+MAX(IF(WEEKDAY($D2+{0,1,2,3,4,5,6})=7,{0,1,2,3,4,5,6},""))),"dd")
D2 = some date
The Formula I have created would show Jan 01 - 02 as a week range, but my client wanted me to show it as Jan 1 - 7, every month should be divided into 5 week range.

Good day! Hope you are well, I found this site helpful specially with the help of Narayan and Azumi.
I wanted to ask if there are formula that could be working for my concern?
No matter what month, it should be divided into five weeks.
I have created a formula : =TEXT(IF(MONTH($D2-WEEKDAY($D2)+1)<>MONTH(D2),$D2,$D2-WEEKDAY($D2)+1),"Mmm dd")&"-"&TEXT(IF(MONTH($D2)<>MONTH($D2+6),DATE(YEAR($D2),MONTH($D2)+1,1)-1,$D2+MAX(IF(WEEKDAY($D2+{0,1,2,3,4,5,6})=7,{0,1,2,3,4,5,6},""))),"dd")
D2 = some date
The Formula I have created would show Jan 01 - 02 as a week range, but my client wanted me to show it as Jan 1 - 7, every month should be divided into 5 week range.