Week Number in a month

AdrianEXC

New Member
Joined
May 29, 2018
Messages
2
Good day everyone,

Hello. I want to be able to show what "Week Number" in a month a particular date falls.

Our week starts on a Saturday and ends on a Friday. Our month's cut off is the last Friday of the month. Meaning, if it is the last Friday of the month today, then tomorrow Saturday will be "Week 1" of the new month.

Example, our Week 4 of May is May19 to May25. The last Friday of the month is May25, so May26 falls into Week 1 of June (that would be May26-Jun1).

Sorry if my explanation is not clear. Any help is highly appreciated.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
You are most welcome.

Here is how it works:
1) Find the end-of-week Friday (EOWF) for the date under question (EOWF =WORKDAY.INTL(A1-1,1,"1111011"));
2) Find the end of the previous month (EOPM) with regard to EOWF (EOPM = EOMONTH(EOWF,-1));
3) Using EOPM, find the last Friday (LFPM) in that month (LFPM =WORKDAY.INTL(EOPM+1,-1,"1111011"));
4) Subtract LFPM date from the date under question to find the difference in days (NDAYS =A1-LFPM);
5) Divide the result by 7 and round up to the whole number (WNUM =CEILING(NDAYS/7,1).
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,816
Members
449,049
Latest member
cybersurfer5000

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