Weeknum returns 53 weeks?

ThomasB

Active Member
Joined
May 2, 2007
Messages
314
Hi

Does anyone know why the weeknum function always returns 53 weeks instead of 52

ie 31/12/2006 = 53
31/12/2007 = 53
31/12/2008 = 53


Rgs

Thomas
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Also this year started on a Thursday and so the first week has only 3 days, meaning that you have 5 days in week 53, from 2009-12-27 to 2009-12-31.
 
Upvote 0
Cos 365 days/7 = 52.14

so there are always 52 full weeks + a partial week 53

The way WEEKNUM function works week 1 can be as short as 1 day (when 1st Jan is a Saturday) and when that co-incides with a leap year (averaging about once every 28 years) you also get a week 54, for one day only, on 31st December, e.g.

=WEEKNUM("2028-12-31")=54
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top