View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mike H Mike H is offline
external usenet poster
 
Posts: 11,501
Default Different results: Networkdays versus date subtraction

Hi,

Excel dates are numbers. Format A1 as general to see the number.
The 2 functions work in different ways:-

39622 and 39624 are the numbers that represent your dates so
A2-A1 when is simply (39624- 39622) =2

But when you apply the Networkdays formula both these days and the
intervening day are workdays so it evaluates as 3

Mike

"OxonLad" wrote:

23/06/2008 00:00:00
25/06/2008 00:00:00
2.00 3.00
=a2-a1 =NETWORKDAYS(A1,A2)

2 dates in cells A1 and A2, a subtraction results in 2 but the networkdays
function returns 3, why might this be?

Thank You