Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A calculation to count the number of days 1

Status
Not open for further replies.

sooze29

Instructor
May 12, 2006
54
GB
I need to count the number of days between two dates over a period of years. This should include weekends, as I need to include every single day.

NETWORKDAYS - counts working days
COUNT360 - Only counts days based on a year of 360 days.

Does anyone know another formula?

Many thanks
 


hi,

Merely calculate the difference, since Date/Time units are days.

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 


It is simply the mathematical difference between the two dates (A-B).

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Oh my goodness, you think something is going to be tricky and its as simple as that. I cannot believe I didn't think, having trained it for about ten years! Actually the person that asked me threw me as they were using the networkday so I assumed there was a formula for this! :) Thanks
 


FYI...

faq68-5827

Skip,
[sub]
[glasses]Just traded in my old subtlety...
for a NUANCE![tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top