Calculate days in month

IanT

Registered User.
Local time
Today, 17:57
Joined
Nov 30, 2001
Messages
191
I have a startdate and enddate. I want to calculate the total working days in a selected month ie
Startdate Endate Days in February
25-02-02 01-03-02 = 4


Can anyone help!
 
Look up this article Article ID: Q97757
and search here there have been several postings regarding Work Days especially if you want to include Bank Holidays.
HTH
 
NETWORKDAYS
Returns the number of whole working days between a start and end date, excluding weekends and any identified holidays.

If this function returns the #NAME? error value, you may need to install msowcf.dll.

Syntax

NETWORKDAYS(start_date,end_date,holidays)

Start_date is a date that represents the start date.

End_date is a date that represents the end date.

Holidays is an optional range of one or more days (holidays) to exclude from the working calendar.
 

Users who are viewing this thread

Back
Top Bottom