Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
annonymous
 
Posts: n/a
Default Date difference taking into account weekends.

Hello,
Is there any way to calculate the difference between two dates that take
into account weekends? If i have a start date and an end date, i dont want
the difference between them to include any weekends between them.
Thanks a million :)
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

one option is to use the NETWORKDAYS function which is included in the
analysis toolpak (tools / add-ins / analysis toolpak)
check out help for details

Cheers
JulieD

"annonymous" wrote in message
...
Hello,
Is there any way to calculate the difference between two dates that take
into account weekends? If i have a start date and an end date, i dont want
the difference between them to include any weekends between them.
Thanks a million :)



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Take a look at the NETWORKDAYS function, which is part of the Analysis
Toolpak add-in (that is you must have it installed). It ignores weekends,
and can ignore holidays if you want.

It takes the form

=NETWORK(start_date,end_date,holidays)
holidays can be omitted.


--

HTH

RP
(remove nothere from the email address if mailing direct)


"annonymous" wrote in message
...
Hello,
Is there any way to calculate the difference between two dates that take
into account weekends? If i have a start date and an end date, i dont want
the difference between them to include any weekends between them.
Thanks a million :)



  #4   Report Post  
Daniel.M
 
Posts: n/a
Default

Hi,

If you have holidays, use NETWORKDAYS()

If you don't have holidays:
=SUM(INT((EndDt-WEEKDAY(EndDt-{1;2;3;4;5})-StartDt+8)/7))

Regards,

Daniel M.

"annonymous" wrote in message
...
Hello,
Is there any way to calculate the difference between two dates that take
into account weekends? If i have a start date and an end date, i dont want
the difference between them to include any weekends between them.
Thanks a million :)



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
How to calculate a person's age taking into account their birthda. CPD174 Excel Worksheet Functions 4 July 8th 05 09:36 AM
Calculating Date difference in 2 ways Hari Excel Discussion (Misc queries) 5 January 15th 05 10:25 PM
Difference of date Atif New Users to Excel 5 January 6th 05 10:53 PM
Difference of date & time in minutes ramsdesk Excel Worksheet Functions 2 November 10th 04 06:01 AM
Date Difference On Working Days iwgunter Excel Worksheet Functions 2 November 8th 04 06:10 PM


All times are GMT +1. The time now is 01:28 AM.

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"