Formula for the number of certain weekdays in a month

roxdrob

New Member
Joined
Mar 2, 2017
Messages
29
Hi, I am trying to create a formula that will calculate the number of Wednesdays in a month and multiply it by 28.46. How would I do that?

TIA

Edited to add:

My columns are months:
JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOV DEC

<colgroup><col span="2"><col span="2"><col span="2"><col><col span="5"></colgroup><tbody>
</tbody>
 
Last edited:

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Try the alternative that you prefer.

F4 "Feb" is an actual date (Feb 1, 2018) for the relevant year ; formatted as Feb "mmm".



Excel 2010
ABCDEF
11-Feb-18444
2
31-Feb-1828-Feb-184
4Feb
54
6
4a
Cell Formulas
RangeFormula
B1=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&EOMONTH(A1,0))))=4))
B3=EOMONTH(A3,0)
C1=SUMPRODUCT(--(WEEKDAY(ROW(INDIRECT(A1&":"&DATE(YEAR(A1),MONTH(A1)+1,0) )))=4))
D1=NETWORKDAYS.INTL(A1,EOMONTH(A1,0),"1101111")
D3=NETWORKDAYS.INTL(A3,B3,"1101111")
F5=NETWORKDAYS.INTL(F4,EOMONTH(F4,0),"1101111")
Named Ranges
NameRefers ToCells
Int='2a'!$B$4
 
Upvote 0
Thank you for your answer, but I'm a little confused. Will that work with this format?

JANFEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
DEC
'=WednesdaysInMonth*28.46
'=WednesdaysInMonth*28.46
etc.

<tbody>
</tbody>
 
Upvote 0
Did you try one of the alternatives to calculate the number of days and * 28.46?
 
Upvote 0

Forum statistics

Threads
1,216,081
Messages
6,128,696
Members
449,464
Latest member
againofsoul

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