Count Specific day of the week between two dates

andrewvanmarle

New Member
Joined
Aug 11, 2015
Messages
40
Im currently using this lovely formula to count the week days between the dates listed in the two cells:

Excel Formula:
= -NETTO.WERKDAGEN(A6;B6)*F6
Werkdagen is the dutch version of Weekdays


Now I'd like to make something like this for someone else but count different days of the week (since their weekend is sunday monday)/
I though of a list with the days to be counted and then refer to that in a formula, but I honestly dont know where to start.

Would anyone like to help?

Thank you!
 
No, we don't have anything like.
 
Upvote 0

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
@Fluff

Last question: right now it counts up to the second date, can it be modified to count including the second date?

For instance entering the same day twice counted as one in my old calculation....


Thanks!
 
Upvote 0
It still does that
+Fluff v2.xlsm
ABC
1
215/12/202015/12/20201
Week_List
Cell Formulas
RangeFormula
C2C2=IF(OR(A2="",B2=""),"",NETWORKDAYS.INTL(A2,B2,2,$H$2:$H$10))
 
Upvote 0
You're right, i must have in advertantly tried weekend days, sorry!

have another hero point! ?


by the way: would you know why a "" value interferes with the above formula? (in the H array?)
 
Upvote 0
Excel treats "" as text which is why it will cause a problem, as the formula is expecting dates rather than text.
 
Upvote 0
Glad you sorted it & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,720
Members
448,986
Latest member
andreguerra

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