+ Reply to Thread
Results 1 to 8 of 8

Calculating days excluding weekends

  1. #1
    Registered User
    Join Date
    10-23-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Calculating days excluding weekends

    Hi,

    I have a start date A2 and want to calculate the number of current days lapsed, but also to exclude weekends. It would be handy for it to always use today's date.

    Can anyone help me...?

    Thanks....!!!

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Calculating days excluding weekends

    Try using the NETWORKDAYS function.
    Example:
    A2: (a date)

    This formula returns the number of workdays between that date and today:

    Please Login or Register  to view this content.
    See Excel help for coverage on how to exclude holidays when calculating the net work days.

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    10-23-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculating days excluding weekends

    Quote Originally Posted by Ron Coderre View Post
    Try using the NETWORKDAYS function.
    Example:
    A2: (a date)

    This formula returns the number of workdays between that date and today:

    Please Login or Register  to view this content.
    See Excel help for coverage on how to exclude holidays when calculating the net work days.

    Does that help?
    Thanks Ron the formula does work however it's not showing what I want to see...sorry novice here...!!

    I have attached what I need to do

    Thanks...!!
    Attached Files Attached Files

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Calculating days excluding weekends

    Thanks Ron the formula does work however it's not showing what I want to see
    What result are you expecting to see? Would be nice if you manually showed this in the workbook.

    If you want to see the days elapsed between the start and finished dates then amend Rons formula to reference the relevant cells.

    =NETWORKDAYS(A2,B2)

    It would be handy for it to always use today's date.
    So, how do you want to calculate the days elapsed? Per the start/finished dates or start date and today? The formula cannot accomodate both, but you can use two columns.

    By the way, you have some Schedule Finish dates are earlier than the Schedule Start date, which will return negative values if the formula above is used.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    10-23-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculating days excluding weekends

    Oh I'm sorry please ignore me...the formula is correct...obviously..! Sorry how can I then demonstrate the start date...days overdue...then another formular to show how many days to complete the job...??? Sorry and your help is very much appreciated..!!

  6. #6
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Calculating days excluding weekends

    I'm not sure I fully understand you question, but you seem to want know two things:

    1. Number days elapsed since Schedule Start - finished date is open
    2. Number of days elapsed between start and finish

    If this is correct, then see attached. If this is not what you mean, mock up the workbook with the results you want to see and post it with a clearer explanation.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    10-23-2009
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Calculating days excluding weekends

    Thanks that is exactly what I wanted....job start and how long it is taking/taken + also how many days before the job should be finished in..

  8. #8
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Calculating days excluding weekends

    Great. Please mark your thread as solved and don't forget to add to the reputation of those who contributed a helpful response.

+ 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