Working Days Calculation w/a Twist

BrandykinsGamer

New Member
Joined
Nov 12, 2017
Messages
9
Hi There -

I need a working day calculation - but with a twist.
Here is my example:

A1 = 5/17/19 B1 = 8/1/19 C1 = _________

Part A: I need day #1 to be the first working day after 5/18/19. And then I need the last working day to be the day of B1. And I need to exclude a list of holidays that I have in another column (D1:D9).

Part B: Now.... another twist :) If there is not a date in either A1, B1, or both ---> I need C1 to remain blank. I only want C1 to calculate if there are dates in both A1 and B1.

I seemed to get Part A to work by using =NETWORKDAYS(A1,B1,D1:D9)+1
But as you can see, I had to add +1 on the end to make sure it counted the date in B1.


HELP!!!!
 
Last edited by a moderator:

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Welcome to the forum.

Unless I'm missing something and assuming your NETWORKDAYS part is okay, then this should do it: =IF(A1*B1,NETWORKDAYS(A1,B1,D1:D9)+1,"")
 
Last edited:
Upvote 0

Forum statistics

Threads
1,213,486
Messages
6,113,932
Members
448,533
Latest member
thietbibeboiwasaco

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