Longer months with more weeks.

rjs1943

Board Regular
Joined
Mar 9, 2010
Messages
55
I need a formula to find which months have more weeks than others. I get paid every fourth Wednesday. Some months, sometimes 4 or 5, I have to wait 5 weeks between paydays, most other months I wait 4 weeks between paydays. Need a formula to tell me which months has 5 weeks between every 4th Wednesday. The rest of the months will show me 4 weeks between paydays.

Thanks:
Rich :):confused:
 
A slightly shorter one (based on formula from Post # 4):

="Weeks between this and next month's paydays: "&SUM(WORKDAY.INTL(EOMONTH(NOW(),{0,-1}),4,"1101111")*{1,-1})/7

"Slightly" shorter? That looks like it is a lot shorter to me. Nice going! One of these days, I will start to remember that the WORKDAY.INTL function exists in Excel and that I should make use of it.
 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,823
Messages
6,181,184
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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