Getting Week Number from a list of dates

DaveSwanton77

New Member
Joined
Apr 15, 2002
Messages
39
I have a table as shown below

Week| Start | End
1 | 1/4/2004 | 7/4/2004
2 | 8/4/2004 |14/4/2004
3 |15/4/2004 |21/4/2004
4 |22/4/2004 |28/4/2004
etc

I need a Query/formula that would return the week number for any given date i.e 11/4/2004 would be week 2 as it is between the start and end dates.

Thanks in Advance

Regards
Dave
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
You can use the DatePart function in the expression builder. This allows you to use standard start dates i.e. 1 jan or to set your own. I hope this is what you are looking for. If you need any further help on this function it gives detailed instructions in the help menu.

Regards Launcher
 
Upvote 0

Forum statistics

Threads
1,221,668
Messages
6,161,158
Members
451,687
Latest member
KENNETH ROGERS

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