Calculating days and dates

  • Thread starter Thread starter HDV
  • Start date Start date
H

HDV

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!
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

date & day formatting 2
VBA? 1
VBA? 3
Calculations 3
Can't change the cell back to blank when there is a date in it. 0
45 day payment 2
Excel DateDif - why does 2007 seem different? 3
Excel Date Count 2

Back
Top