Remove week 53 from excel

YounesB3

Board Regular
Joined
Mar 28, 2012
Messages
148
Hello, I was wondering if it was possible to remove week 53 from excel.

WEEKNUM(TODAY()-(7*11)) = 2
WEEKNUM(TODAY()-(7*12)) = 53
WEEKNUM(TODAY()-(7*13)) = 52

The database I'm using doesn't have a week 53. I'd like the 53 to be 1.

I had found a solution by converting everything with system 2 (WEEKNUM(TODAY()-(7*?),21)). The thing is, I also have a year function i.e. YEAR(TODAY()-(7*?)).

So basically, I would have XYZ-1-2013 instead of XYZ-1-2014.

Any solutions to this?

Cross post : http://www.msofficeforums.com/excel/20314-remove-week-53-excel.html#post61180
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
How do you define the first week of the year?
 
Upvote 0
How do you define the first week of the year?

From sunday to saturday. So basically, week 1 would include sunday 29th 2013 to saturday 4th 2014.

Instead of having sunday 29th, monday 30th and tuesday 31st as week 53.
 
Upvote 0
So week 1 of 2016 starts on Sunday 12/27/2015?
 
Upvote 0
With this logic, The last day of Week 52 2016 would be 12/24/2016
What happens to 12/25/2016 through 12/31/2016 ?

Do they just not exist anymore?
 
Upvote 0
With this logic, The last day of Week 52 2016 would be 12/24/2016
What happens to 12/25/2016 through 12/31/2016 ?

Do they just not exist anymore?

I must say that's a question I didn't ask myself. I'll ask IT tomorrow as to what they do each 6 years to adjust. I'll get back to you tomorrow, thanks!
 
Upvote 0
It's really a simple/unavoidable mathmatical problem. Think Neo from The Matrix

52*7 = 364
But there are 365 (and an occasional 366th) days in a year.

I'd consult the vendor of your database and ask how they made their database have only 52 weeks.
 
Upvote 0
If you simply want to make week 53's into 1's, you can try

IF(WEEKNUM(TODAY())=53,1,WEEKNUM(TODAY()))

But this will make week 1 have more than 7 days.
 
Upvote 0
Thread solved (see cross-reference link).

As for what I'll do in 2016, I'll ask IT tomorrow, but I'll solve this problem separately. Thanks!
 
Upvote 0
Note that if you use WEEKNUM function some dates are in week 54....although the next one isn't for 14 years.......

Try

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

Forum statistics

Threads
1,215,104
Messages
6,123,113
Members
449,096
Latest member
provoking

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