Number of working days per month between 2 Dates

CurrentHamster

New Member
Joined
Dec 10, 2018
Messages
4
Good Afternoon,

I'm trying to find a formula that will count the number of working days per month between two dates.

I can do the number of working days per month between two dates (If "End Date is blank it calculates using the last day of the current month):
Formula in C2:
=IF($B2="",NETWORKDAYS($A2,EOMONTH(TODAY(),0)),NETWORKDAYS($A2,$B2))[TABLE="width: 50"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Start Date
[/TD]
[TD]End Date
[/TD]
[TD]Full Time Equivalent
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]03/12/2018
[/TD]
[TD]02/01/2019
[/TD]
[TD]23
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]05/12/2018
[/TD]
[TD]07/01/2019
[/TD]
[TD]24
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]29/11/2018
[/TD]
[TD][/TD]
[TD]197
[/TD]
[/TR]
</tbody>[/TABLE]

I can also do the number of days per month betwen two dates:
[TABLE="width: 300"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD]B
[/TD]
[TD]C
[/TD]
[TD]D
[/TD]
[TD]E
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]Start Date
[/TD]
[TD]End Date
[/TD]
[TD]Full Time Equivalent
[/TD]
[TD]Dec-18
[/TD]
[TD]Jan-18
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]03/12/2018
[/TD]
[TD]02/01/2019
[/TD]
[TD]23
[/TD]
[TD]29
[/TD]
[TD]2
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]05/12/2018
[/TD]
[TD]07/01/2019
[/TD]
[TD]24
[/TD]
[TD]27
[/TD]
[TD]7
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]29/11/2018
[/TD]
[TD][/TD]
[TD]197
[/TD]
[TD]31
[/TD]
[TD]31
[/TD]
[/TR]
</tbody>[/TABLE]
=MAX(0,MIN(IF($b2="",TODAY(),$b2),EOMONTH(DATEVALUE(D$1),0))-MAX($A2,DATEVALUE(D$1))+1)

But I can't seem to combine the two together so that e.g. E3 should be 5 because the Sat 4th and Sun 5th, I don't need to exclude Bank Holidays just weekends.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi,
Try maybe calculationg network days where end date id.your end.date in column B but start dste would be date=last day of the month in column A sothat in E3 would be =Networkdays(31/12/2018,07/01/2018)
 
Upvote 0
Hi again,
I do not think the solution I recommended will work. In order to cslculate networkdays you need start and end dates. End date would be the one in column B but what should be your start date for row 2, 3 and 4 in your example?
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,157
Members
453,021
Latest member
Justyna P

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