# work days split between month/ week

#### RSnap3232

##### New Member
Hello All,

trying to calculate how long something is on hire for which is then split between month (Ideally looking for weeks but happy to do month if it can't be done) without including weekends. I have the below where it calculates between a start date and end date (If no end date it uses TODAY() as a running cost) but when I try to get the split it still includes the weekends and I have no idea how to change it to network days.

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

#### Fluff

##### MrExcel MVP, Moderator
+Fluff 1.xlsm
ABCDEFGHIJKL
1
2
3
4
501/01/202101/02/202101/03/202101/04/202101/05/202101/06/202101/07/2021
6
701/05/202115    15
801/02/202112/05/202173 2023228
Main
Cell Formulas
RangeFormula
F7:L8F7=IF(OR(\$A7>EOMONTH(F\$5,0),IF(\$B7="",TODAY(),\$B7)<F\$5),"",NETWORKDAYS(MAX(\$A7,F\$5),MIN(IF(\$B7="",TODAY(),\$B7),EOMONTH(F\$5,0))))
C7:C8C7=NETWORKDAYS(A7,IF(B7="",TODAY(),B7))

#### RSnap3232

##### New Member
that is brilliant thank you.

#### Fluff

##### MrExcel MVP, Moderator
You're welcome & thanks for the feedback.

Replies
11
Views
221
Replies
3
Views
68
Replies
14
Views
257
Replies
1
Views
75
Replies
2
Views
415

1,141,715
Messages
5,708,030
Members
421,540
Latest member
quocbinh

### 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.

### Which adblocker are you using?

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

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