dates between range including start and finish

Afro_Cookie

Board Regular
Joined
Mar 17, 2020
Messages
103
Office Version
  1. 365
Platform
  1. Windows
I've tried using =NETWORKDAYS and it does work, but it excludes the start and finish dates. Is there a method that will count weekdays in a range while including and the start and end in that range?

example:
Start date: July 8th, 2020
End date: July 15th, 2020
NETWORKDAYS: 4
Desired count: 6
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Networkdays returns 6 for me
+Fluff New.xlsm
A
1
208/07/2020
315/07/2020
46
Main
Cell Formulas
RangeFormula
A4A4=NETWORKDAYS(A2,A3)


Have you included anything in the holidays argument?
 
Upvote 0
If A1 holds the date 7/8/2020 and A2 the date 7/15/2020, then for me =NETWORDAYS(A1,A2) returns 6.
 
Upvote 0
How are you using Networkdays? It should give the correct results.
Please show your formula.

T202007a.xlsm
CDE
1StartEndWorkdays
2Wed 08-Jul-20Wed 15-Jul-206
3
2b
Cell Formulas
RangeFormula
E2E2=NETWORKDAYS(C2,D2)
 
Upvote 0
I fat eyed this and was looking at the wrong column/formula.

NETWORKDAYS works fine, it was the datedif() that was giving me off numbers, I've fixed that one by simply subtracting the dates and adding 1.

Thanks everyone for the support and responses!

How are you using Networkdays? It should give the correct results.
Please show your formula.

T202007a.xlsm
CDE
1StartEndWorkdays
2Wed 08-Jul-20Wed 15-Jul-206
3
2b
Cell Formulas
RangeFormula
E2E2=NETWORKDAYS(C2,D2)
If A1 holds the date 7/8/2020 and A2 the date 7/15/2020, then for me =NETWORDAYS(A1,A2) returns 6.

Networkdays returns 6 for me
+Fluff New.xlsm
A
1
208/07/2020
315/07/2020
46
Main
Cell Formulas
RangeFormula
A4A4=NETWORKDAYS(A2,A3)


Have you included anything in the holidays argument?
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,257
Members
448,952
Latest member
kjurney

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