Calculating half days with NETWORKDAYS.INTL

chrisPg

New Member
Joined
Jul 5, 2016
Messages
1
I am attempting to use excel to track the number of days leave employees have taken for a holiday accrual calculation.

I am using the NETWORKDAYS.INTL function with string values to deal with part-time employees who work complete days, however I have a handful who work a mix of whole and part days (for example full days Mon, Tues, Weds plus half day on Thursday.

The data I am using to calculate leave days taken just gives me the start and end date of the leave period, so I need to be able to recognise that any Thursdays appearing in the date range only represent a half day of leave allowance used, not a full day.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Hi Chris you could use this formula
Code:
=NETWORKDAYS.INTL(B2,C2,1)-((C2-B2)-NETWORKDAYS.INTL(B2,C2,15)+1)*0.5
To calculate days where THU is half day
Where B2 is start and C2 is end
Cheers
Sergio
 
Upvote 0

Forum statistics

Threads
1,215,274
Messages
6,123,993
Members
449,137
Latest member
abdahsankhan

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