Counting NetworkDays (2 or Less) for week Commencing...

surkdidat

Well-known Member
Joined
Oct 1, 2011
Messages
582
Office Version
  1. 365
Hi (again!)

I need to calculate the number of NETWORKDAYS (between Column G / Column Q) and combine with COUNTIF for

2 days or less
3-4 days
5-8 days

So,

in the below Table it counts

Tier 1 - ONE (as one date falls outside the range)
Tier 2 - TWO (as both Tier 2's fall inside date range)

Col G (Start Date)Col Q (End Date)Col R (Tier)
18/10/2119/10/21Tier 1 (2 Days or Less)
18/10/2122/10/21Tier 1 (2 Days or Less)
18/10/2119/10/21Tier 2 (3-4 Days)
18/10/2122/10/21Tier 2 (3-4 Days)

Thanks :)
 
Last edited:

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
maybe if i understand combine with a IF()
But 18/10/21 to 22/10/21 - why is that < = 2 days

=IF( NETWORKDAYS(A2,B2) <=2, "Tier 1 (2 days or less)", IF( NETWORKDAYS(A2,B2) <=4,"Tier 2 (3-4 days)", "Tier 3 (> 4 days)"))

Book2
ABCDE
1Col G (Start Date)Col Q (End Date)Col R (Tier)Networkdays
210/18/2110/19/21Tier 1 (2 Days or Less)2Tier 1 (2 days or less)
310/18/2110/22/21Tier 1 (2 Days or Less)5Tier 3 (> 4 days)
410/18/2110/19/21Tier 2 (3-4 Days)2Tier 1 (2 days or less)
510/18/2110/22/21Tier 2 (3-4 Days)5Tier 3 (> 4 days)
Sheet3
Cell Formulas
RangeFormula
D2:D5D2=NETWORKDAYS(A2,B2)
E2:E5E2=IF( NETWORKDAYS(A2,B2) <=2, "Tier 1 (2 days or less)", IF( NETWORKDAYS(A2,B2) <=4,"Tier 2 (3-4 days)", "Tier 3 (> 4 days)"))
 
Upvote 0

Forum statistics

Threads
1,214,985
Messages
6,122,605
Members
449,089
Latest member
Motoracer88

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