Formula to Get week Number starting on Wednesday

drom

Active Member

In our company the week number goes from Wednesday to Tuesday

Check the Following table:
 Row/Col A B C 1 DATE Desired WeekNumber Formula? 2 2020-Dec-23 Wednesday 52 3 2020-Dec-24 Thursday 52 4 2020-Dec-25 Friday 52 5 2020-Dec-26 Saturday 52 6 2020-Dec-27 Sunday 52 7 2020-Dec-28 Monday 52 8 2020-Dec-29 Tuesday 52 9 2020-Dec-30 Wednesday 53 10 2020-Dec-31 Thursday 53 11 2021-Jan-01 Friday 53 12 2021-Jan-02 Saturday 53 13 2021-Jan-03 Sunday 53 14 2021-Jan-04 Monday 53 15 2021-Jan-05 Tuesday 53 16 2021-Jan-06 Wednesday 1 17 2021-Jan-07 Thursday 1

I would like to have a formula to get the Week number I put manually in Column B
I have been trying
• =WEEKNUM(\$A2, 1)
• =WEEKNUM(\$A2, 2)
• =WEEKNUM(\$A2, 11)
• =WEEKNUM(\$A2, 12)
• =WEEKNUM(\$A2, 13)
• =WEEKNUM(\$A2, 14)
• =WEEKNUM(\$A2, 15)
• =WEEKNUM(\$A2, 16)
• =WEEKNUM(\$A2, 17)
• =WEEKNUM(\$A2, 21)
• =ISOWEEKNUM(\$A2)
But non of those formulas works
• from the 2021-Jan-04 Monday

Thanks again

Excel Facts

Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

JamesCanale

Active Member
MrExcelPlayground2.xlsx
ABC
1DATEDesired WeekNumberFormula
2Wednesday, December 23, 20205252
3Thursday, December 24, 20205252
4Friday, December 25, 20205252
5Saturday, December 26, 20205252
6Sunday, December 27, 20205252
7Monday, December 28, 20205252
8Tuesday, December 29, 20205252
9Wednesday, December 30, 20205353
10Thursday, December 31, 20205353
11Friday, January 1, 20215353
12Saturday, January 2, 20215353
13Sunday, January 3, 20215353
14Monday, January 4, 20215353
15Tuesday, January 5, 20215353
16Wednesday, January 6, 202111
17Thursday, January 7, 202111
18Friday, January 8, 20211
19Saturday, January 9, 20211
20Sunday, January 10, 20211
21Monday, January 11, 20211
22Tuesday, January 12, 20211
23Wednesday, January 13, 20212
24Thursday, January 14, 20212
25Friday, January 15, 20212
Sheet22
Cell Formulas
RangeFormula
C2:C25C2=WEEKNUM(INT((A2-4)/7)*7+4,21)

Replies
1
Views
262
Replies
3
Views
260
Replies
3
Views
187
Replies
5
Views
91
Replies
3
Views
161

1,141,769
Messages
5,708,420
Members
421,568
Latest member
Huxley

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back