Hours/minutes between // networkdays.intl // different start/stop times in same week

uknowwhoibe

New Member
Joined
Apr 27, 2013
Messages
6
Hi there - here's the issue I'm having:

I measure how long it takes our people to contact a lead that comes into our system. Currently, we track this Monday through Saturday, 9am to 9pm (Sundays are not counted). Here's the formula I'm working with

Code:
=IFERROR(IFERROR(IF(OR(TIME(21,0,0)<TIME(9,0,0),H11 <G11 ),0,(NETWORKDAYS.INTL(G11,H11,11)-(NETWORKDAYS.INTL(G11,G11,11)*IF(MOD(G11,1)>TIME(21,0,0),1,(MAX(TIME(9,0,0),MOD(G11,1))-TIME(9,0,0))/(TIME(21,0,0)-TIME(9,0,0))))-(NETWORKDAYS.INTL(H11,H11,11)*IF(MOD(H11,1)<TIME(9,0,0),1,(TIME(21,0,0)-MIN(TIME(21,0,0),MOD(H11,1)))/(TIME(21,0,0)-TIME(9,0,0)))))*(TIME(21,0,0)-TIME(9,0,0))*24),"n/a")/24,"N/A")

G11 is the lead created time and H11 is the time when contact is logged.

I'm now needing to also track this separately:

Name (in column "I") = "John Smith"
Times/days to track:
Monday and Friday, 8am to 5pm
Tuesday, Wednesday, Thursday, 10am to 7pm
Saturday and Sunday, off do not count

How can I do this? The issue (I think) is the differing times during the same week but I'm not an expert.

Any help would be appreciated, especially if you can help me figure it out as opposed to just doing it :D
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,214,561
Messages
6,120,245
Members
448,952
Latest member
kjurney

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