calculating day intervals, omitting 1 given day

gregz12345

New Member
Joined
Sep 19, 2018
Messages
7
I'm looking to calculate the days of the week between 2 sets up days, while not factoring in Saturdays.

For example below (with service days being the result):


[TABLE="width: 212"]
<colgroup><col span="2"><col></colgroup><tbody>[TR]
[TD]A[/TD]
[TD]B[/TD]
[TD]Service Days[/TD]
[/TR]
[TR]
[TD="align: right"]30-May[/TD]
[TD="align: right"]3-Jun[/TD]
[TD="align: right"]3[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try this, where May 30, 2019 is in A2 and June 3, 2019 is in B2.

Code:
[FONT=Verdana,Arial,Tahoma,Calibri,Geneva,sans-serif]=NETWORKDAYS.INTL(A2,B2,17)-1[/FONT]
 
Upvote 0
You're welcome. I'm glad it's working for you.
 
Upvote 0
Just to confirm, if just sundays were to be omitted, the resulting formula should read: =NETWORKDAYS.INTL(A2,B2,11)-1 ?
 
Upvote 0

Forum statistics

Threads
1,223,714
Messages
6,174,044
Members
452,542
Latest member
Bricklin

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