AlmostBeginner19
New Member
- Joined
- Oct 30, 2019
- Messages
- 11
If anyone could help on this, it would be greatly appreciated.
I thought this was gonna be just a simple WEEKNUM formula but it's giving me quite a hard time.
I have a column of dates (column A) and I want to get the week number based on a custom week.
The week starts from Thursday to Wednesday.
The year starts on January 2, 2020 so week 1 is from Jan 2 to Jan 8, 2020.
The last week of the year is Dec 31, 2020 to Jan 6, 2021, then the week number resets to 1.
I tried numerous other formulas but couldn't get it to work.
The last formula I tried is: =INT((A4-DATE(YEAR(A4+364)-1,1,2)-WEEKDAY(A4-1,12))/7)+2
Based on a formula I got from another forum. This is actually not the original formula, I tweaked it, trying to experiment in different ways, but still didn't work.
Thanks to anyone who would help.
I thought this was gonna be just a simple WEEKNUM formula but it's giving me quite a hard time.
I have a column of dates (column A) and I want to get the week number based on a custom week.
The week starts from Thursday to Wednesday.
The year starts on January 2, 2020 so week 1 is from Jan 2 to Jan 8, 2020.
The last week of the year is Dec 31, 2020 to Jan 6, 2021, then the week number resets to 1.
I tried numerous other formulas but couldn't get it to work.
The last formula I tried is: =INT((A4-DATE(YEAR(A4+364)-1,1,2)-WEEKDAY(A4-1,12))/7)+2
Based on a formula I got from another forum. This is actually not the original formula, I tweaked it, trying to experiment in different ways, but still didn't work.
Thanks to anyone who would help.