Splitting a period into dates in a month

G

Guest

Guest
Hello all,

I want Excel to calculate for me how many weekdays there is in a period in every months. I have a scenario where I have a weekly event at a specific weekday and I would like to specify a period (a lower limit and a higher limit, but both dates are the same day of week).

For example: The period is 2002-01-01 (Tuesday) to 2002-02-12 (Tuesday).

If I type this period in two columns, I would like to have 12 more columns (one for each month) in which there is a formula automaticly calculating for me that for this period there is 5 Tuesdays in January and 2 Tuesdays in February and presenting them under January and February seperately.

This need to work for all weekdays of course and regardless the length of the period.

Anyone got any ideas I would be most grateful!

Thanks!
Marcus Karlsson
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

Forum statistics

Threads
1,214,379
Messages
6,119,190
Members
448,874
Latest member
Lancelots

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