Need help on next step

zzbhs

New Member
Joined
Apr 24, 2017
Messages
3
I've used the NETWORKDAYS to count my calendar span (beg/end) including setting up a holiday table. Within this calendar span there are 6 cycle periods and I've used NETWORKDAYS to calculate the day counts per each cycle. The per cycles days counts total to the span total.

The next step issue -- I have a list of individuals with start dates and end dates (withdraw dates) all within that calendar span; but these dates may cover multiple cycles for each individuals. Given these individual's start and end dates I need to know that individual's total day count in EACH of the CYCLEs in the SPAN. Note the end date does not count as a day count. Hoping for help on a formula.

The example below on row 3 the =NETWORKDAYS(Beg, End, [holidaytable]) was used to get the day count. Need a formula to count days listed by individuals - Per each of the 6 cycles. (NOTE: The 6, 27, 3 and 23 were hand calculated and entered; this is too show what a formula should return).

BegSpan:8/25/14Cycle:8/25/1410/6/1411/10/141/5/152/23/154/20/15
End5/29/1510/3/1411/7/1412/23/142/20/154/17/155/29/15
Count178292529323528
1st2nd3rd4th5th6th
Inv110/31/1412/22/140627000
Inv22/18/154/2/150003230

<tbody>
</tbody>
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Could you please clarify how you arrived at 27 for the 3rd cycle and 23 for the 5th cycle?
 
Upvote 0
Given a Holiday Table of

Holiday9/1/1411/26/1411/27/1411/28/1412/24/1412/25/14
12/30/1412/31/141/1/151/2/151/19/151/22/15
3/17/153/18/153/19/153/20/155/22/155/25/15
<colgroup><col width="64" style="width: 48pt;"> <col width="72" style="width: 54pt; mso-width-source: userset; mso-width-alt: 2633;" span="6"> <tbody> </tbody>

To get the breakdown by cycles I listed the dates in each cycle down a worksheet then counted the days from Inv 1 & 2 start date to end date. See cut out section below -- which easily shows why I'm asking for help on a formula instead of this. Thanks for looking.

Individual 1 Date Cycle Day in Cycle Indv Days
Mon 10/27/20142nd 6 Wk16
Tue 10/28/20142nd 6 Wk17
Wed 10/29/20142nd 6 Wk18
Thu 10/30/20142nd 6 Wk19
Fri 10/31/20142nd 6 Wk201
Mon 11/3/20142nd 6 Wk212
Tue 11/4/20142nd 6 Wk223
Wed 11/5/20142nd 6 Wk234
Thu 11/6/20142nd 6 Wk245
Fri 11/7/20142nd 6 Wk256
Mon 11/10/20143rd 6 Wk11
Tue 11/11/20143rd 6 Wk22
Wed 11/12/20143rd 6 Wk33
Thu 11/13/20143rd 6 Wk44
Fri 11/14/20143rd 6 Wk55
Mon 11/17/20143rd 6 Wk66
Tue 11/18/20143rd 6 Wk77
Wed 11/19/20143rd 6 Wk88
Thu 11/20/20143rd 6 Wk99
Fri 11/21/20143rd 6 Wk1010
Mon 11/24/20143rd 6 Wk1111
Tue 11/25/20143rd 6 Wk1212
Wed 11/26/2014Holiday
Thu 11/27/2014Holiday
Fri 11/28/2014Holiday
Mon 12/1/20143rd 6 Wk1313
Tue 12/2/20143rd 6 Wk1414
Wed 12/3/20143rd 6 Wk1515
Thu 12/4/20143rd 6 Wk1616
Fri 12/5/20143rd 6 Wk1717
Mon 12/8/20143rd 6 Wk1818
Tue 12/9/20143rd 6 Wk1919
Wed 12/10/20143rd 6 Wk2020
Thu 12/11/20143rd 6 Wk2121
Fri 12/12/20143rd 6 Wk2222
Mon 12/15/20143rd 6 Wk2323
Tue 12/16/20143rd 6 Wk2424
Wed 12/17/20143rd 6 Wk2525
Thu 12/18/20143rd 6 Wk2626
Fri 12/19/20143rd 6 Wk2727
Mon 12/22/20143rd 6 Wk28W/draw date
Tue 12/23/20143rd 6 Wk29
<colgroup><col width="64" style="width: 48pt;"> <col width="108" style="width: 81pt; mso-width-source: userset; mso-width-alt: 3949;"> <col width="64" style="width: 48pt;" span="4"> <tbody> </tbody>


xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Individual 2
Mon 2/16/2015Holiday
Tue 2/17/20154th 6 WK29
Wed 2/18/20154th 6 WK301
Thu 2/19/20154th 6 WK312
Fri 2/20/20154th 6 WK323
Mon 2/23/20155th 6 Wk11
Tue 2/24/20155th 6 Wk22
Wed 2/25/20155th 6 Wk33
Thu 2/26/20155th 6 Wk44
Fri 2/27/20155th 6 Wk55
Mon 3/2/20155th 6 Wk66
Tue 3/3/20155th 6 Wk77
Wed 3/4/20155th 6 Wk88
Thu 3/5/20155th 6 Wk99
Fri 3/6/20155th 6 Wk1010
Mon 3/9/20155th 6 Wk1111
Tue 3/10/20155th 6 Wk1212
Wed 3/11/20155th 6 Wk1313
Thu 3/12/20155th 6 Wk1414
Fri 3/13/20155th 6 Wk1515
Mon 3/16/2015Holiday
Tue 3/17/2015Holiday
Wed 3/18/2015Holiday
Thu 3/19/2015Holiday
Fri 3/20/2015Holiday
Mon 3/23/20155th 6 Wk1616
Tue 3/24/20155th 6 Wk1717
Wed 3/25/20155th 6 Wk1818
Thu 3/26/20155th 6 Wk1919
Fri 3/27/20155th 6 Wk2020
Mon 3/30/20155th 6 Wk2121
Tue 3/31/20155th 6 Wk2222
Wed 4/1/20155th 6 Wk2323
Thu 4/2/20155th 6 Wk24W/draw date
Fri 4/3/20155th 6 Wk25
Mon 4/6/20155th 6 Wk26
Tue 4/7/20155th 6 Wk27
<colgroup><col width="64" style="width: 48pt;"> <col width="108" style="width: 81pt; mso-width-source: userset; mso-width-alt: 3949;"> <col width="64" style="width: 48pt;" span="5"> <tbody> </tbody>
 
Upvote 0
Assuming your dataset from Post #1 covers range A1:J6 and your holiday dates are in a range named Holidays, try the following formula:

=MAX(0,NETWORKDAYS(MAX(E$1,$B5),MIN(E$2,$C5-1),Holidays))
 
Upvote 0
A homerun -- Thank you so much. Never worked with Max Min before got to look into those more now.
Thank you again.
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,139
Members
449,207
Latest member
VictorSiwiide

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