NetWorkDays Broken out by Month various Start and End Dates

Grimm127

Board Regular
Joined
Aug 17, 2011
Messages
132
Hello All you wonderful Guru's,
I am stuck on something and I need some guidance.
I have a set of projects that have a number of different start and end dates. So its pretty easy to get total of number of days using the Networkdays function.
The problem I am having that I need to break out the number of days by month.

Also if a Start Date is less than 01.01.2022 it needs to return 01.01.2022 as well as if the End date is greater than 12.31.2022 it needs to return 12.31.2022.
Any suggestions to make this work? I am all out of ideas....
 

Attachments

  • Screenshot 2022-06-19 082816.jpg
    Screenshot 2022-06-19 082816.jpg
    93.4 KB · Views: 15

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
this was almost the same problem, so the solution is equal
 
Upvote 0
Solution
this was almost the same problem, so the solution is equal
WOW! Thank you! I never considered the Max, Min. I kept using the greater or less than. It is perfect and works great. Thank you so very much!
 
Upvote 0

Forum statistics

Threads
1,224,732
Messages
6,180,622
Members
452,991
Latest member
JM_000888

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