Jim
There is an Excel function called Networkdays that will do the trick. The
syntax is:
Networkdays(Start_date,End_date[,Hollidays])
Both dates have to be in date format. The last (optional) item, Hollidays,
refers to a range of dates to be excluded in the calculation. If this
function is not available, run the Setup program to install the Analysis
ToolPak. After you install the Analysis ToolPak, you must enable it by
using the Add-Ins command on the Tools menu.
At Neethling
Cape Town
>
>
>Date: Fri, 9 Jun 2000 21:32:31 -0400
>From: Jim Meagher <[log in to unmask]>
>Subject: Excel Date Calculations
>
>Good Morning to all....
>
>In Excel 97, I need to compute the number
>of weekdays (Mon-Fri) between two given dates.
>Like so:
>
>Start End Number
>Date Date of Weekdays
>1/1/00 1/16/00 10
>6/7/00 6/11/00 3
>
>Any and all suggestions will be appreciated.
>
PCSOFT maintains many useful files for download
visit our download web page at:
http://nospin.com/pc/files.html
|