How Many Wednesdays in a Month Where Weeknum is OddNum

brncao

Board Regular
Joined
Apr 28, 2015
Messages
149
Trying to figure out the formula for this. Type the following in column A:

Jan 2018
Feb 2018
Mar 2018
...

In column B, the formula will calculate how many Wednesdays there are in that Month where Weeknum is an odd number.
Most months have 2, but a few will have 3.
 
Thank you Rick. I noticed October 2018 is returning 3 instead of 2. My paycheck is on the 10th and 24th.
:confused: You said in Message #3 the following...
My paycheck is on weeknum #1 then #3 , then #5 , etc. They're odd number.
Isn't October 3, 2018 a Wednesday in the first week of October and, hence, October 3, 17 and 31 would be the odd week number Wednesdays?
 
Upvote 0

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Re: How Many Wednesdays in Every Month Where Weeknum is OddNum

:confused: You said in Message #3 the following...

Isn't October 3, 2018 a Wednesday in the first week of October and, hence, October 3, 17 and 31 would be the odd week number Wednesdays?
Dave's result is the correct one. There are 3 in jan and aug.

I see what you did. You were looking at it on a month-to-month basis. Sorry if I wasn't clear.

There are 52 weeks in a year. I get paid every 2 weeks starting on week 1 that is a Wednesday (ie 1/3/2018), in other words, odd-numbered weeks. That means my last paycheck is on week 51. See Dave's result on how it should look like.

I should have a total of 26 paychecks per year (27 in 2020). Let me know if you're still unsure.

Thanks
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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