+ Reply to Thread
Results 1 to 11 of 11

Missing days with and without weekends

  1. #1
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Missing days with and without weekends

    Dear Friends
    I would like to know the missing days between the range that included, and excluded weekends(Saturday, Sunday)

    in the following example from the date range A1 to A4 what is the formula we have to write in B5 and B6 to get result like this?
    2019/06/05
    2019/06/07
    2019/06/10
    2019/06/13
    Missing Days without weekend 3
    Missing Days with weekend 5

    Kind Regards

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Missing days with and without weekends

    If your dates are in order (as illustrated)

    B5: =NETWORKDAYS(A1,A4)-4
    B6: =1+A4-A1-4

  3. #3
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Re: Missing days with and without weekends

    No brother, it's not giving right result if suppose I use more dates like this

    2019/05/09
    2019/05/10
    2019/05/13
    2019/05/15
    2019/05/16
    2019/05/20
    2019/05/21
    2019/05/22
    2019/05/24
    2019/05/27
    2019/05/28
    2019/05/29
    2019/05/30

    PS: I wrote the formula for this
    =NETWORKDAYS(A1,A13)-4
    =1+A13-A1-4
    Last edited by manoes; 06-23-2019 at 02:57 AM.

  4. #4
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Missing days with and without weekends

    Try this


    Please Login or Register  to view this content.
    with Control + shift + enter as an array formula

    and this

    Please Login or Register  to view this content.
    with control + shift + enter too as an array formula.

    it should also account for dates being out of order

    change the range a1:a4 to suit
    Happy with my advice? Click on the * reputation button below

  5. #5
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Re: Missing days with and without weekends

    In this example how to get result in B5 like this (showing how many weekend days between the range)

    2019/06/05
    2019/06/07
    2019/06/10
    2019/06/13
    weekend days 2

    Kind Regards

  6. #6
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082
    Quote Originally Posted by manoes View Post
    In this example how to get result in B5 like this (showing how many weekend days between the range)

    2019/06/05
    2019/06/07
    2019/06/10
    2019/06/13
    weekend days 2

    Kind Regards

    This looks like a different question. Did your question above get answered? If so show this as solved and start a new question

  7. #7
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Re: Missing days with and without weekends

    No that doesn't give any solutions.
    this formula gives with week end + total missing days between selected range
    =(val2-val1+1-COUNT(val1:val2))
    and now I would like to know How to calculate total weekend days between two range
    Last edited by manoes; 06-23-2019 at 06:37 AM.

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Missing days with and without weekends

    Try the following:

    =(A4-A1+1)-NETWORKDAYS.INTL(A1,A4,1)
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Re: Missing days with and without weekends

    Thant is fantastic bro.,
    And I found another one myself.,

    =SUM(INT((WEEKDAY(val2-{1,7})+val2-val1)/7))

  10. #10
    Registered User
    Join Date
    06-23-2019
    Location
    India
    MS-Off Ver
    2016
    Posts
    6

    Re: Missing days with and without weekends

    Crooza and cbatrody
    Thank you so much your guidances., Greatly helped.

    Kind Regards

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,448

    Re: Missing days with and without weekends

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] adding days but excluding weekends
    By cwrice in forum Excel General
    Replies: 3
    Last Post: 06-18-2018, 04:42 PM
  2. Replies: 0
    Last Post: 10-31-2014, 10:32 AM
  3. Replies: 4
    Last Post: 05-19-2014, 04:28 PM
  4. [SOLVED] Problem linking dates and missing weekends (newbie alert)
    By WH_14 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-06-2013, 09:51 AM
  5. Replies: 10
    Last Post: 06-03-2012, 05:57 AM
  6. [SOLVED] Rolling dynamic chart missing last entry and cannot filter weekends
    By greyscale in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-17-2012, 08:58 PM
  7. how many days used excluding weekends
    By rphan in forum Excel General
    Replies: 3
    Last Post: 07-21-2011, 06:13 PM

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