+ Reply to Thread
Results 1 to 13 of 13

WORKDAY.INTL Formula not excluding Sundays!

Hybrid View

ramilh WORKDAY.INTL Formula not... 12-01-2022, 02:23 AM
AliGW Re: WORK.INTL Formula not... 12-01-2022, 02:37 AM
ramilh Re: WORK.INTL Formula not... 12-01-2022, 02:58 AM
bebo021999 Re: WORK.INTL Formula not... 12-01-2022, 03:14 AM
sandy666 Re: WORK.INTL Formula not... 12-01-2022, 03:17 AM
bebo021999 Re: WORK.INTL Formula not... 12-01-2022, 03:21 AM
ramilh Re: WORK.INTL Formula not... 12-01-2022, 03:30 AM
sandy666 Re: WORK.INTL Formula not... 12-01-2022, 03:24 AM
ramilh Re: WORK.INTL Formula not... 12-01-2022, 03:32 AM
sandy666 Re: WORK.INTL Formula not... 12-01-2022, 03:43 AM
AliGW Re: WORKDAY.INTL Formula not... 12-02-2022, 06:16 AM
HansDouwe Re: WORKDAY.INTL Formula not... 12-02-2022, 06:51 AM
HansDouwe Re: WORKDAY.INTL Formula not... 12-02-2022, 07:22 AM
  1. #1
    Registered User
    Join Date
    11-24-2022
    Location
    Istanbul, Turkey
    MS-Off Ver
    Excel 2019
    Posts
    36

    Post WORKDAY.INTL Formula not excluding Sundays!

    I have a formula where I need estimated completion time based on the Start Date, Work hours needed, Start and End of working hours and shift time (21 hours). I need the formula to exclude Sundays but it does not execute it. Any help is highly appreciated!
    Attached Files Attached Files
    Last edited by ramilh; 12-02-2022 at 08:26 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,381

    Re: WORK.INTL Formula not excluding Sundays!

    What and where is the formula?
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    11-24-2022
    Location
    Istanbul, Turkey
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: WORK.INTL Formula not excluding Sundays!

    Dear AliGW, please kindly check the attached file for the formula. I have used Work.Intl formula for the estimated time.

  4. #4
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: WORK.INTL Formula not excluding Sundays!

    What output would you expect?
    It seems 01/12/2022 3:40 is correct.
    Since start date fell into Sun, then using tip:
    =WORKDAY(StartDate -1, Number + 1,11)
    Step back 1 day, then plus 1 day, to avoid weekend
    Your formula:
    =WORKDAY.INTL(C4,INT(H4/J4/21)+.....
    should become
    =WORKDAY.INTL(C4-1,1+INT(H4/J4/21)+.....

    BTW, your formula shorten version with same result:
    =WORKDAY.INTL(C4-1,1+INT(H4/J4/21),11)+MOD(C4,1)+(H4-INT(H4/J4/21)*21*J4)/J4/24
    Quang PT

  5. #5
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: WORK.INTL Formula not excluding Sundays!

    I think you are talking about NETWORKDAYS.INTL() or WORKDAY.INTL()
    AFAIK something like WORK.INTL doesn't exist
    Last edited by sandy666; 12-01-2022 at 03:23 AM.

  6. #6
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,645

    Re: WORK.INTL Formula not excluding Sundays!

    Quote Originally Posted by sandy666 View Post
    I think you are talking about NETWORKDAYS.INTL()
    I dont think so.
    He might wants to get the end date-time, excluding Sunday, with given capacity, and day with 21 hours only.

  7. #7
    Registered User
    Join Date
    11-24-2022
    Location
    Istanbul, Turkey
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: WORK.INTL Formula not excluding Sundays!

    Dear Bebo02199, my mistake but you got it absolutely right! Thanks a lot again!

  8. #8
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: WORK.INTL Formula not excluding Sundays!

    @bebo
    re-read post#5 and title of thread

    you were too quick with your post
    Last edited by sandy666; 12-01-2022 at 03:28 AM.

  9. #9
    Registered User
    Join Date
    11-24-2022
    Location
    Istanbul, Turkey
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: WORK.INTL Formula not excluding Sundays!

    @sandy
    I am new to all these Excel Formula and Coding things and to the forum, but you are right. I corrected the mistake.

  10. #10
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: WORK.INTL Formula not excluding Sundays!

    Quote Originally Posted by ramilh View Post
    I corrected the mistake.
    You are welcome and thanks

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

    Re: WORKDAY.INTL Formula not excluding Sundays!

    Continue here - your latest thread is just a follow-on from this question, and does not need a new thread, so has been closed.

  12. #12
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: WORKDAY.INTL Formula not excluding Sundays!

    For an estimated end time taking into account NO production on Sunday and the lengths of breaks, try this formula:
    Formula: copy to clipboard
    =LET(nd,H4/J4/24/(1-SUM(O3:Q3)+SUM(O2:Q2)),t,WORKDAY.INTL(C4,nd,11)+MOD(nd,1)+MOD(C4,1),t+(WEEKDAY(t)=1))
    Disclaimer: This formula does take into account the length of the daily breaks, but does not take into account when those breaks are exactly. However, the formula takes into account exactly when it is Sunday.
    Attached Files Attached Files

  13. #13
    Forum Guru HansDouwe's Avatar
    Join Date
    06-21-2022
    Location
    Nederland
    MS-Off Ver
    365 V2403 (Build 17330.20000)
    Posts
    6,466

    Re: WORKDAY.INTL Formula not excluding Sundays!

    For office 16 users, the LET feature is not available. They can try the following formula.
    Formula: copy to clipboard
    =WORKDAY.INTL(C4,H4/J4/24/(1-SUM(O3:Q3)+SUM(O2:Q2)),11)+MOD(H4/J4/24/(1-SUM(O3:Q3)+SUM(O2:Q2)),1)+MOD(C4,1)+(WEEKDAY(WORKDAY.INTL(C4,H4/J4/24/(1-SUM(O3:Q3)+SUM(O2:Q2)),11)+MOD(H4/J4/24/(1-SUM(O3:Q3)+SUM(O2:Q2)),1)+MOD(C4,1))=1)
    Disclaimer: This formula does take into account the length of the daily breaks, but does not take into account when those breaks are exactly. However, the formula takes into account exactly when it is Sunday.
    Attached Files Attached Files
    Last edited by HansDouwe; 12-02-2022 at 07:24 AM.

+ 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] No of days in a Month excluding Sundays
    By grcshekar in forum Excel General
    Replies: 10
    Last Post: 04-13-2020, 12:43 PM
  2. =TODAY()-1 Excluding Sundays
    By Dan27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-10-2016, 08:53 AM
  3. Replies: 2
    Last Post: 09-18-2015, 10:41 AM
  4. Replies: 10
    Last Post: 04-27-2015, 06:33 PM
  5. excluding holidays and sundays
    By balundl in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-25-2013, 12:38 PM
  6. Replies: 5
    Last Post: 12-11-2012, 01:20 AM
  7. Dates Excluding Sundays
    By gailb14 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 12-07-2007, 12:16 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