Formula for week number

fernipascual

Board Regular
Joined
Sep 3, 2009
Messages
76
Hi there:

I want to say that this forum has been SO helpful to me and I appreciate the quick responses!

I have a list of dates going back to 2005 and I want to assign week numbers to them. For example,
1/7/2005 would be week 1. (=weeknum,a1).
12/31/2005 would be week 53
1/5/2006 would be week 54 (not week 1)
12/31/2006 would be week 106 (or 105, not sure)


My question is how to assign week numbers after the 53rd week of a year if I have a long list that begins in 2005 all the way to 2011 and beyond.

Thanks much
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
In A1, put 1/7/2005
In A2, put 1/1/2011
In B2, put =(A2-A1)/7 (it will show as 313, the 313th week).

You can play around with the start date in A1 to get this perfect.
 
Upvote 0

Forum statistics

Threads
1,224,516
Messages
6,179,231
Members
452,898
Latest member
Capolavoro009

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