NETWORKDAYS.INTL

SMB1982

New Member
Joined
Sep 25, 2024
Messages
4
Office Version
  1. 365
Platform
  1. Windows
I have this formula for tracking leaves: NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays]). Which works great for my Monday - Friday people.

The trouble I'm having is with my employees who work a swing shift and their days off are split. (for example in one week they work Monday, Tuesday, Friday and Saturday. Sunday, Wednesday and Thursday are their days off.)

Is there a work around? Or should I enter as no weekends and just add each day individually? Which I would ideally like to avoid when someone is on a block leave.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Hi & welcome to MrExcel.
You can use
Excel Formula:
NETWORKDAYS.INTL(start_date, end_date, "0011001", [holidays])
which will only return dates for Monday, Tuesday, Friday or Saturday.
 
Upvote 1
Solution
You're welcome & thanks for the feedback.
 
Upvote 0
No, the dtring of 1s & 0s has to be 7 digits long.
 
Upvote 1

Forum statistics

Threads
1,225,738
Messages
6,186,728
Members
453,368
Latest member
positivemind

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