Do we have a Formula to get the week from the date? :)

pedie

Well-known Member
Joined
Apr 28, 2010
Messages
3,875
Suppose in cell 1 i have a date 9/8/2010, can the formula show me whether it is in week1, 2,3,4 respectively?

Thanks for helping!
Pedie;)

I have =WEEKNUM(H45,2) which return week number for whole year...But I am looking for like week1 of sept for instance. thanks again!
 
Last edited:

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
But I am looking for like week1 of sept for instance. thanks again!

Hi,

September 2010 started on a Wednesday. So does week 1 start there or do you want to use a different logic? And if so, what is it?

Matty
 
Upvote 0
Matty and everyone, thanks for helping!
I have a formula below...which is not accurate can can't be used without editing it for each month.
Suppose I have date 13 sept in cell a1, I want the formula in b2 to gimme week 3, or just number 3 for me to manually format it;)
So basically I am looking for week number of the month and not year!

Thanks again
Code:
=IF(DAY(H41)<8,1,IF(DAY(H41)<15,2,IF(DAY(H41)<22,3,IF(DAY(H41)<29,4,5))))
 
Last edited:
Upvote 0
assuming you want it to work like WEEKNUM but within a month, i.e. 1st of the month is always week 1, changes to week 2 on the first Monday after that.

=INT((13-WEEKDAY(H41-1)+DAY(H41))/7)
 
Upvote 0

Forum statistics

Threads
1,214,614
Messages
6,120,533
Members
448,969
Latest member
mirek8991

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