Formula needed to calculate working days in specified month between two dates

1. Formula needed to calculate working days in specified month between two dates

Hi,

Does anyone know a formula I could use to tell me the number of working days in a specified month between start and end dates? I have the start and end dates in separate columns and the month in a separate cell.

Thanks!  Register To Reply

2. Re: Formula needed to calculate working days in specified month between two dates

Look at the Networkdays function...

=Networkdays(startdate, enddate, holidays)

Holidays is an optional range for you to enter holiday dates to be excluded from the count.  Register To Reply

3. Re: Formula needed to calculate working days in specified month between two dates

Are your normal workdays Monday thru Friday? Will you need to exclude any holiday dates?  Register To Reply

4. Re: Formula needed to calculate working days in specified month between two dates Originally Posted by Tony Valko Are your normal workdays Monday thru Friday? Will you need to exclude any holiday dates?
Hi,

The workdays are Monday - Friday and holidays shouldn't be excluded. The tricky part is that I need to specify the month between the start and end date for which the working days should be calculated.

For example, if the start date is April 1, 2013 and the end date is May 17, 2013, I want to calculate only the working days in May 2013.  Register To Reply

5. Re: Formula needed to calculate working days in specified month between two dates

So then it's the month of the EndDate that matters?

Try

=NETWORKDAYS(MAX(StartDate,EndDate-DAY(EndDate)+1),EndDate)  Register To Reply

6. Re: Formula needed to calculate working days in specified month between two dates

Why can't you just define the period as May 1 2013 thru May 17 2013?  Register To Reply

7. Re: Formula needed to calculate working days in specified month between two dates

If you have start date in A2 and end date in B2 then list the 1st of each month in C1 across and then use this formula in C2 copied across for the number of workdays in each month

=MAX(0,NETWORKDAYS(MAX(\$A2,C\$1),MIN(\$B2,EOMONTH(C\$1,0))))

You can format Row 1 as mmm-yyyy or similar  Register To Reply

8. Re: Formula needed to calculate working days in specified month between two dates  Register To Reply

9. Re: Formula needed to calculate working days in specified month between two dates

Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

In future, to mark your thread as Solved, you can do the following -

Incase your issue is not solved, you can undo it as follows -

Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.  Register To Reply