+ Reply to Thread
Results 1 to 4 of 4

Date difference taking into account weekends.

Hybrid View

Guest Date difference taking into... 03-14-2005, 02:06 PM
Guest Re: Date difference taking... 03-14-2005, 02:06 PM
Guest Re: Date difference taking... 03-14-2005, 02:06 PM
Guest Re: Date difference taking... 03-14-2005, 02:06 PM
  1. #1
    annonymous
    Guest

    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. #2
    JulieD
    Guest

    Re: Date difference taking into account weekends.

    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" <annonymous@discussions.microsoft.com> wrote in message
    news:8FFC1690-424E-4DE4-BC58-371EDFC2A78A@microsoft.com...
    > 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. #3
    Bob Phillips
    Guest

    Re: Date difference taking into account weekends.

    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" <annonymous@discussions.microsoft.com> wrote in message
    news:8FFC1690-424E-4DE4-BC58-371EDFC2A78A@microsoft.com...
    > 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. #4
    Daniel.M
    Guest

    Re: Date difference taking into account weekends.

    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" <annonymous@discussions.microsoft.com> wrote in message
    news:8FFC1690-424E-4DE4-BC58-371EDFC2A78A@microsoft.com...
    > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1