PC Review


Reply
Thread Tools Rate Thread

Calculating days and dates

 
 
HDV
Guest
Posts: n/a
 
      15th Aug 2005

I need to calculate the number of working days (ie Monday to Friday)
from the date entered in cell D4 (22/07/2005). This needs to update
each day in cell E4.

I can do this not based on working days, by entering

=DATEDIF(D4,TODAY(),"d")

but where in the formula do I reference it to working days or network
days? HELP!


--
HDV
------------------------------------------------------------------------
HDV's Profile: http://www.excelforum.com/member.php...o&userid=26299
View this thread: http://www.excelforum.com/showthread...hreadid=395788

 
Reply With Quote
 
 
 
 
swatsp0p
Guest
Posts: n/a
 
      15th Aug 2005

You can use the NETWORKDAYS function to do what you ask.

=NETWORKDAYS(D4,TODAY(),E4:E10)

where D4 is the start date and E4:E10 is a list of holidays (entered i
valid date format) to exclude from your count (optional, omit or adjus
the range to meet your needs).

In your example, 17 is returned with TODAY() being 15Aug2005 and n
holidays counted in this timeframe. Note that it counts the first da
in the range as day 1 and the last day listed is also counted.)

I believe you need to have the Analysis Tool Pack Add-In installed t
have the function available. Click Tools>Add-ins and place a check b
this item and click OK.

HTH

Bruc

--
swatsp0

-----------------------------------------------------------------------
swatsp0p's Profile: http://www.excelforum.com/member.php...fo&userid=1510
View this thread: http://www.excelforum.com/showthread.php?threadid=39578

 
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 the days between two dates pandd15 Microsoft Excel Worksheet Functions 2 15th Sep 2009 03:18 PM
Conditional Formatting Dates calculating 10 days and 30 days from a certain date Sioux Microsoft Excel Worksheet Functions 2 11th Oct 2007 02:04 PM
Calculating number of days between two dates that fall between two other dates richard.goodger@gmail.com Microsoft Excel Misc 5 26th Oct 2005 06:18 PM
Calculating # of busn days, not just calendar days, between 2 dates? StargateFanFromWork Microsoft Excel Programming 1 29th Jun 2004 08:31 PM
Calculating the days between 2 dates jfriend Microsoft Outlook Program Addins 1 28th Aug 2003 08:15 AM


Features
 

Advertising
 

Newsgroups
 


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