PC Review


Reply
Thread Tools Rate Thread

Calculating # of busn days, not just calendar days, between 2 dates?

 
 
StargateFanFromWork
Guest
Posts: n/a
 
      29th Jun 2004
Phew, I keep coming across things I don't know how to resolve. A
spreadsheet I set up for holiday leave last week works great but I just
realized that we need to know not just the number of days between a start
and end date, but also the # of business days. The code for calendar days
was easy, since it's just a subtraction formula, basically. i.e., between
7/28/2004 and 8/13/2004, there are 16 calendar days. By counting manually
on paper calendars, I see that there are 12 business days between those 2
dates, if I've counted correctly.

How would one code that in a formula, though, pls?

Thank you! Where would I be without this fabulous ng and all you great MVPs
and other out there! D


 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      29th Jun 2004
=NETWORKDAYS(E1,E2)

If you want to exclude hoilidays, put in another rantge and use

=NETWORKDAYS(E1,E2, range_of_dates)

This is part of the Analysis Toolpak Addin, so make sure that is enabled.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"StargateFanFromWork" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Phew, I keep coming across things I don't know how to resolve. A
> spreadsheet I set up for holiday leave last week works great but I just
> realized that we need to know not just the number of days between a start
> and end date, but also the # of business days. The code for calendar days
> was easy, since it's just a subtraction formula, basically. i.e., between
> 7/28/2004 and 8/13/2004, there are 16 calendar days. By counting manually
> on paper calendars, I see that there are 12 business days between those 2
> dates, if I've counted correctly.
>
> How would one code that in a formula, though, pls?
>
> Thank you! Where would I be without this fabulous ng and all you great

MVPs
> and other out there! D
>
>



 
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 calendar days and completion dates. primed Microsoft Excel Programming 4 18th Mar 2010 12:17 AM
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 days between two dates =?Utf-8?B?bGxlZGVsZW4=?= Microsoft Excel Misc 4 9th Mar 2007 08:48 PM
Calculating Days Between Dates gti_jobert Microsoft Excel Programming 6 6th Apr 2006 05:27 PM
Calculating days between dates KevinE Microsoft Access Queries 1 22nd Mar 2006 03:34 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:47 PM.