Connie
NETWORKDAYS Function.
Returns the number of whole working days between start_date and end_date.
Working days exclude weekends and any dates identified in holidays. Use
NETWORKDAYS to calculate employee benefits that accrue based on the number of
days worked during a specific term.
If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.
See Help for formula examples.
Gord Dibben Excel MVP
On Thu, 24 Feb 2005 08:23:06 -0800, "Connie Martin"
wrote:
I have this very simple formula: =N42-K42 Both N42 and K42 are dates.
QUESTION #1
Is there a way to incorporate into this formula something that would exclude
weekends when it calculates the number of days' difference?
QUESTION #2
Is there also a way to incorporate into this formula something that would
exclude statutory holidays when it calulcates the difference? I assume I
would need to put a list of statutory holidays somewhere in the worksheet or
on another worksheet.
Thank you
Connie Martin
|