Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gcw gcw is offline
external usenet poster
 
Posts: 9
Default Networkday question

If you enter DATE(2008,10,1) as the Start_date and 10/1/08 as the End_date it
shows a difference of N=1 workday. Which means the system is subtracting
39722 from 39722 and getting a total of 1.

If you enter DATE(2008,11,1 ) as the Start_date and 11/1/08 as the End_date
it shows a difference of N=0 workdays. Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.

What is causing the difference when the same formula is used? Is this a
glitch in the system?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default Networkday question

That's the way Excel counts it; start and end date the same means one day.
But 2008,11,2 is not a workday, so it doesn't count

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"gcw" wrote in message
...
If you enter DATE(2008,10,1) as the Start_date and 10/1/08 as the End_date
it
shows a difference of N=1 workday. Which means the system is subtracting
39722 from 39722 and getting a total of 1.

If you enter DATE(2008,11,1 ) as the Start_date and 11/1/08 as the
End_date
it shows a difference of N=0 workdays. Which means the system is
correctly
subtracting 39753 from 39753 and getting a total of 0.

What is causing the difference when the same formula is used? Is this a
glitch in the system?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 7,247
Default Networkday question

1-Oct-2008 is a Wednesday, so there is one workday between 1-Oct-2008
and 1-Oct-2008. 1-Nov-2008 is a Saturday, so there are no work days
between 1-Nov-2008 and 1-Nov-2008.

Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.


That's not how NETWORKDAYS computes its result. It isn't simple
subtraction.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Tue, 21 Oct 2008 11:17:18 -0700, gcw
wrote:

If you enter DATE(2008,10,1) as the Start_date and 10/1/08 as the End_date it
shows a difference of N=1 workday. Which means the system is subtracting
39722 from 39722 and getting a total of 1.

If you enter DATE(2008,11,1 ) as the Start_date and 11/1/08 as the End_date
it shows a difference of N=0 workdays. Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.

What is causing the difference when the same formula is used? Is this a
glitch in the system?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Networkday question

On Tue, 21 Oct 2008 11:17:18 -0700, gcw wrote:

If you enter DATE(2008,10,1) as the Start_date and 10/1/08 as the End_date it
shows a difference of N=1 workday. Which means the system is subtracting
39722 from 39722 and getting a total of 1.

If you enter DATE(2008,11,1 ) as the Start_date and 11/1/08 as the End_date
it shows a difference of N=0 workdays. Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.

What is causing the difference when the same formula is used? Is this a
glitch in the system?


No glitch.

NETWORKDAYS returns the number of whole working days between start_date and
end_date.

In this case, the word "between" is used in an INCLUSIVE sense and includes the
first and last days.

Your first formula returns a 1, because you have "1" working day (1 Oct 2008)

Your second formula returns a "0" because 1 Nov 2008 is a Saturday, which is
not counted as a work day by this function.
--ron
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
gcw gcw is offline
external usenet poster
 
Posts: 9
Default Networkday question

OK I understand, weekend the beginning of the month starts on a weekend it is
best to use the beginning date as the first working day

Thank you for your help

"Chip Pearson" wrote:

1-Oct-2008 is a Wednesday, so there is one workday between 1-Oct-2008
and 1-Oct-2008. 1-Nov-2008 is a Saturday, so there are no work days
between 1-Nov-2008 and 1-Nov-2008.

Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.


That's not how NETWORKDAYS computes its result. It isn't simple
subtraction.

Cordially,
Chip Pearson
Microsoft Most Valuable Professional
Excel Product Group
Pearson Software Consulting, LLC
www.cpearson.com
(email on web site)


On Tue, 21 Oct 2008 11:17:18 -0700, gcw
wrote:

If you enter DATE(2008,10,1) as the Start_date and 10/1/08 as the End_date it
shows a difference of N=1 workday. Which means the system is subtracting
39722 from 39722 and getting a total of 1.

If you enter DATE(2008,11,1 ) as the Start_date and 11/1/08 as the End_date
it shows a difference of N=0 workdays. Which means the system is correctly
subtracting 39753 from 39753 and getting a total of 0.

What is causing the difference when the same formula is used? Is this a
glitch in the system?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
networkday - datedif BNT1 via OfficeKB.com New Users to Excel 5 April 8th 08 07:32 PM
6 day/week function ie:networkday Robert Excel Worksheet Functions 6 August 6th 07 12:06 AM
Businessday (Networkday) Function dannyboy213 Excel Discussion (Misc queries) 4 February 2nd 06 12:30 AM
Networkday Calendar rac Excel Discussion (Misc queries) 2 January 22nd 06 01:27 PM
NETWORKDAY function problem - starting on weekends [email protected] Excel Discussion (Misc queries) 5 June 16th 05 10:55 PM


All times are GMT +1. The time now is 08:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"