Nested IF and NETWORKDAYS Query

ZachQuack

New Member
Joined
Sep 11, 2015
Messages
1
I've spent quite some time trying to figure this out, but can't - seeking assistance from those with far better skills than I.

I am trying to calculate the number of days between two dates (A2 & B2) excluding: weekends, holidays (by state) as well as for a ticket received before or after 1PM. For example in April there were 5 public holidays in the state of ACT and NSW of which 3 of them were business days.

SLA Calculation - Service request received before 1pm (e.g. Monday), all parts are in stock then Next Business Day would equal to the Technician being onsite the following business working day (e.g. Tuesday) Where the service request is received after 1pm (e.g. Monday) then Next Business Daywould allow an additional business day (e.g. Wednesday).

I know how to calculate days between two dates and exclude a range of holidays, but not by state, and definitely not by taking into considering a time boundary as well. Please help!


Log Time/DateOnsite DateLog to Onsite (Days) < Holidays & Time BoundariesStateHolidayDate
18-Apr-19 2:56:00 PM24-Apr-19FORMULA HEREACTGood Friday19/04/19
18-Apr-19 8:22:00 AM23-Apr-19FORMULA HEREACT
Day following Good Friday

<tbody>
</tbody>
20/04/19

<tbody>
</tbody>
ACT
Easter Sunday

<tbody>
</tbody>
21/04/19
ACTEaster Monday22/04/19
ACTANZAC Day25/04/19
NSWGood Friday19/04/19
NSWDay following Good Friday20/04/19
NSWEaster Sunday21/04/19
NSWEaster Monday22/04/19

<tbody>
</tbody>


Thank you in advance.
******
 
Last edited:

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off

Forum statistics

Threads
1,214,790
Messages
6,121,607
Members
449,037
Latest member
Arbind kumar

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