+ Reply to Thread
Results 1 to 11 of 11

count days between dates without counting Fridays

  1. #1
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    count days between dates without counting Fridays

    example ,,,
    someone came late from vacations
    his vacation ends 16-12-2021
    he resume to duty on 26-12-2021

    I want to count late days which is (7 days) without counting fridays !!

    thanks

  2. #2
    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,418

    Re: count days between dates without counting Fridays

    How do you arrive at 7? What else are you excluding???

    This will count excluding Fridays AND Saturdays:

    =NETWORKDAYS.INTL(A1,B1,"0000110")

    and will return 7.

    This will exclude just Fridays:

    =NETWORKDAYS.INTL(A1,B1,"0000100")

    but will NOT return 7.
    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.

  3. #3
    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,418

    Re: count days between dates without counting Fridays

    Maybe you are wanting to exclude the start and end dates of the range? If so, then this:

    =NETWORKDAYS.INTL(A1,B1,"0000100")-2

    or this:

    =NETWORKDAYS.INTL(A1+1,B1-1,"0000100")

    Some feedback would be nice.
    Last edited by AliGW; 01-27-2022 at 05:24 AM.

  4. #4
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: count days between dates without counting Fridays


    let me check with more examples !!
    but thanks ... i'll try them both !!

    sorry for double posting but..
    can you count fridays between these 2 dates ?

  5. #5
    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,418

    Re: count days between dates without counting Fridays

    Yes, you can:

    =NETWORKDAYS.INTL(A1,B1,"1111011")

    Basically a 1 means ignore the day, 0 means count it - the range starts on a Monday.

  6. #6
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: count days between dates without counting Fridays

    Thanks !! I'll check it out
    I'm working on 2 systems + my Excel form
    trying to compare between them all

  7. #7
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: count days between dates without counting Fridays

    Quote Originally Posted by AliGW View Post
    Basically a 1 means ignore the day, 0 means count it - the range starts on a Monday.
    ahh i get it now thanks

  8. #8
    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,418

    Re: count days between dates without counting Fridays

    It should work the same on any system.

    In future, it would be better (and you've had this suggested to you before) to provide a workbook with several mocked-up examples of what you want (manually calculated). Then your helper can check that the solution offers fits your requirements fully. Otherwise we are working a bit in the dark.

  9. #9
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: count days between dates without counting Fridays

    Thanks AliGW

    Im using this one =NETWORKDAYS.INTL(A1,B1,"0000100")-2 !!

  10. #10
    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,418

    Re: count days between dates without counting Fridays

    Great!

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

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

  11. #11
    Registered User
    Join Date
    10-13-2016
    Location
    Kuwait
    MS-Off Ver
    2016
    Posts
    82

    Re: count days between dates without counting Fridays

    done and done !!

+ 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. Replies: 2
    Last Post: 01-03-2019, 05:36 PM
  2. [SOLVED] Sum the days except fridays and vice versa
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 25
    Last Post: 01-26-2016, 11:45 AM
  3. how to Count Fridays Between 2 Dates
    By mohammadamjad48 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2015, 09:25 AM
  4. Replies: 1
    Last Post: 11-01-2012, 03:41 PM
  5. Replies: 4
    Last Post: 12-16-2011, 02:55 PM
  6. [SOLVED] Need a formula to count the fridays between two dates
    By tiq in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-09-2006, 05:29 PM
  7. Counting how many days between 2 dates
    By justchris in forum Excel General
    Replies: 2
    Last Post: 03-30-2005, 07:28 AM

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