work days split between month/ week

RSnap3232

New Member
Joined
Nov 20, 2020
Messages
28
Office Version
  1. 2016
  2. 2013
Platform
  1. Windows
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.

1621594747150.png
 

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
Joined
Jun 12, 2014
Messages
62,562
Office Version
  1. 365
Platform
  1. Windows
How about
+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))
 
Solution

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
62,562
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Forum statistics

Threads
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.
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
Top