Formula for counting the number or Mondays in a month - Help Needed

sbooth

Board Regular
Joined
Dec 22, 2004
Messages
92
I need a formula that will calulate the total number of Mondays, Tuesdays, Wednesdays...etc. in a given month. In my spreadsheet I have the days in cells A2:A9. In Cells B1:B:12 I have the months in this format 7/1/09..thru 6/1/10.

Any help would be appreciated.

Thanks,
Steve
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Not sure about your layout Steve, but here's a generic formula to give number of a specific day in a month

=4+(DAY($A3+34)< WEEKDAY($A3-B$2))

where A3 contains 1st of the relevant month and B2 contains a number 1 to 7 representing Sunday [1] through to Saturday [7]

See below: Note B2:H2 contains the numbers 1 to 7 custom formatted as dddd
days in month (4 or 5).xls
ABCDEFGHIJ
1
2SundayMondayTuesdayWednesdayThursdayFridaySaturdayTotal
31/1/2009444455531
42/1/2009444444428
53/1/2009555444431
64/1/2009444554430
75/1/2009544445531
86/1/2009455444430
97/1/2009444555431
108/1/2009554444531
119/1/2009445544430
1210/1/2009444455531
1311/1/2009554444430
1412/1/2009445554431
15
16Totals52525252535252365
17
Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,225,204
Messages
6,183,565
Members
453,169
Latest member
Marlon18

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