James Carlo Cruz
Member
Hi,
Here is my question :
I have an excel formula that will compute for the start of the week range (sunday) and end of the week (saturday).
=TEXT($D3-WEEKDAY($D3)+1,"Mmm dd")&"-"&TEXT(IF(MONTH($D3)<>MONTH($D3+6),DATE(YEAR($D3),MONTH($D3)+1,1)-1,$D3+MAX(IF(WEEKDAY($D3+{0,1,2,3,4,5,6})=7,{0,1,2,3,4,5,6},""))),"dd")
D3 = some dates
Need to change Dec 27 - 02 to Jan 01 - 02, would some one please tweak the formula?
Thanks!

Here is my question :
I have an excel formula that will compute for the start of the week range (sunday) and end of the week (saturday).
=TEXT($D3-WEEKDAY($D3)+1,"Mmm dd")&"-"&TEXT(IF(MONTH($D3)<>MONTH($D3+6),DATE(YEAR($D3),MONTH($D3)+1,1)-1,$D3+MAX(IF(WEEKDAY($D3+{0,1,2,3,4,5,6})=7,{0,1,2,3,4,5,6},""))),"dd")
D3 = some dates
Need to change Dec 27 - 02 to Jan 01 - 02, would some one please tweak the formula?
Thanks!