PC Review


Reply
Thread Tools Rate Thread

Calculating days between current date and a date in future NETWORKDAYS() function

 
 
Faheem Khan
Guest
Posts: n/a
 
      10th Feb 2005
Hi,

I have tried using the networkdays() function as described in the help
topics.
However it doesnt' seem to help. The cell has the following formula and it
displays #NAME?
=networkdays(B9,B10,{38395;38396;38402;38403;38409;38410;38416;38417;38423;3
8424})

B9 = 2/10/2005
B10 = 3/18/2005 &
the rest of it is a range B11:B20 which contains dates for the weekends
between the values in B9 & B10

Expected: I am expecting it to display the number of days between B9 & B10
dates excluding the weekends specified.
Actual: #NAME?

If you can please correct where I am wrong OR an alternate way of getting
this is fine too.

Your help is appreciated.

Regards
-Faheem

PS:
Pasted the help content below..
AB
DateDescription
10/01/2008Start date of project
3/01/2009End date of project
11/26/2008Holiday
12/4/2008Holiday
1/21/2009Holiday
FormulaDescription (Result)
=NETWORKDAYS(A2,A3)Number of workdays between the start and end date above
(108)
=NETWORKDAYS(A2,A3,A4)Number of workdays between the start and end date
above, excluding the first holiday (107)
=NETWORKDAYS(A2,A3,A4:A6)Number of workdays between the start and end date
above, excluding every holiday above (105)


Note To convert the range of cells used for holidays in the last example
into an array constant, select reference A4:A6 in the formula and then press
F9.


 
Reply With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      10th Feb 2005
You need to install the Analysis Toolpak Add-in (Tools/Add-ins, check
the appropriate checkbox).

In article <(E-Mail Removed)>,
"Faheem Khan" <(E-Mail Removed)> wrote:

> Hi,
>
> I have tried using the networkdays() function as described in the help
> topics.
> However it doesnt' seem to help. The cell has the following formula and it
> displays #NAME?
> =networkdays(B9,B10,{38395;38396;38402;38403;38409;38410;38416;38417;38423;3
> 8424})
>
> B9 = 2/10/2005
> B10 = 3/18/2005 &
> the rest of it is a range B11:B20 which contains dates for the weekends
> between the values in B9 & B10
>
> Expected: I am expecting it to display the number of days between B9 & B10
> dates excluding the weekends specified.
> Actual: #NAME?
>
> If you can please correct where I am wrong OR an alternate way of getting
> this is fine too.
>
> Your help is appreciated.
>
> Regards
> -Faheem
>
> PS:
> Pasted the help content below..
> AB
> DateDescription
> 10/01/2008Start date of project
> 3/01/2009End date of project
> 11/26/2008Holiday
> 12/4/2008Holiday
> 1/21/2009Holiday
> FormulaDescription (Result)
> =NETWORKDAYS(A2,A3)Number of workdays between the start and end date above
> (108)
> =NETWORKDAYS(A2,A3,A4)Number of workdays between the start and end date
> above, excluding the first holiday (107)
> =NETWORKDAYS(A2,A3,A4:A6)Number of workdays between the start and end date
> above, excluding every holiday above (105)
>
>
> Note To convert the range of cells used for holidays in the last example
> into an array constant, select reference A4:A6 in the formula and then press
> F9.

 
Reply With Quote
 
Ron Rosenfeld
Guest
Posts: n/a
 
      10th Feb 2005
On Thu, 10 Feb 2005 10:41:13 -0800, "Faheem Khan" <(E-Mail Removed)> wrote:

>I have tried using the networkdays() function as described in the help
>topics.
>However it doesnt' seem to help. The cell has the following formula and it
>displays #NAME?


You need to check Excel HELP for the function:

====================
If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in.

How?

On the Tools menu, click Add-Ins.
In the Add-Ins available list, select the Analysis ToolPak box, and then click
OK.
If necessary, follow the instructions in the setup program.
======================


--ron
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculating a future date from an existing date in a query KlausAlt Microsoft Access 3 5th Apr 2006 12:38 AM
formula to calculate future date from date in cell plus days =?Utf-8?B?Q2hpY2VzcQ==?= Microsoft Excel Worksheet Functions 8 3rd Nov 2005 12:25 PM
How to insert future date based on current date plus 14 days =?Utf-8?B?Sm9obiBCYWtrZXI=?= Microsoft Word Document Management 1 31st Jan 2005 09:08 PM
how to compare current date to a future date and validate it in ASP.NET James P. Microsoft ASP .NET 7 13th Jul 2004 11:13 PM
query to return current date or future date Mark Microsoft Access 1 21st Oct 2003 04:17 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:48 AM.