ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Network days question (https://www.excelbanter.com/excel-worksheet-functions/96848-network-days-question.html)

Annette

Network days question
 
I used the formula =NETWORKDAYS(K15,L15) to determine the number of days
between two cells; however, one of my cells

1/16/06 1/16/06

reports the above as 1 and the following

7/1/06 7/1/06

reports the above as 0.

Why are they reporting difference - I checked to assure formatting is the
same. I want it to report one when there is only one day.

Thanks!



Bondi

Network days question
 

Annette wrote:
I used the formula =NETWORKDAYS(K15,L15) to determine the number of days
between two cells; however, one of my cells

1/16/06 1/16/06

reports the above as 1 and the following

7/1/06 7/1/06

reports the above as 0.

Why are they reporting difference - I checked to assure formatting is the
same. I want it to report one when there is only one day.

Thanks!


Hi Annette,

One guess would be that Saturday the 1st of July is not counted as a
workingday but Monday the 16th of Jan is.

Regards,
Bondi


Domenic

Network days question
 
That's because July 1, 2006, is a Saturday and NETWORKDAYS excludes
Saturdays and Sundays. Note that it can also exclude holidays, if you
want. See the help file. If don't want to exclude Saturdays and
Sundays, you could simply...

=L15-K15+1

....and format the cell as 'General'.

Hope this helps!

In article ,
"Annette" wrote:

I used the formula =NETWORKDAYS(K15,L15) to determine the number of days
between two cells; however, one of my cells

1/16/06 1/16/06

reports the above as 1 and the following

7/1/06 7/1/06

reports the above as 0.

Why are they reporting difference - I checked to assure formatting is the
same. I want it to report one when there is only one day.

Thanks!



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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com