+ Reply to Thread
Results 1 to 6 of 6

Need help with WORKDAY.INTL formula

  1. #1
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Need help with WORKDAY.INTL formula

    cell A4 is date
    cell B2 is =WEEKNUM($A4,11)

    I am using this formula
    =WORKDAY.INTL($A4,B$2,"0111111")

    which works fine when the start date in cell A4 as 1 Jan 2021,
    if this date is changed to other dates for example 1 Feb 2021 the result is not as desired (need Monday)

    Kindly see the attached file.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need help with WORKDAY.INTL formula

    Maybe:


    =IF(WORKDAY.INTL($A4,N$2,"0111111")>=EOMONTH(DATE(YEAR(A4),COUNTIF($A$4:A4,A4),1),0),"",WORKDAY.INTL($A4,N$2,"0111111"))
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Need help with WORKDAY.INTL formula

    FWIW, I'd also de-merge the green cells, use this in B3, copied down:

    =IF(A3="",DATE(YEAR($A4),COUNTIF($A$4:A4,A4),1),"")

    and then (ONLY if you REALLY want to) remerge them (better NOT to, as merged cells are truly horrible).

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

    Re: Need help with WORKDAY.INTL formula

    Remove row 2
    B3:
    =A4
    A4:
    "1/1/2020"
    A5:
    =EDATE(A4,-12)
    Copy to A9
    A11:
    =EDATE(A4,1)
    A12:
    =EDATE(A5,1)
    Copy to A16

    D4:
    Please Login or Register  to view this content.
    Copy to G,J,M,P
    Copy B3:P9 to B10:P16
    Attached Files Attached Files
    Quang PT

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Need help with WORKDAY.INTL formula

    Please try at D4

    =LET(a,WORKDAY.INTL(DATE(YEAR($A4),MONTH($B$3),0),COLUMNS($B4:D4)/3,"0111111"),IF(MONTH(a)=MONTH($B$3),a,""))
    Attached Files Attached Files

  6. #6
    Forum Contributor mikehk's Avatar
    Join Date
    09-05-2017
    Location
    Hong Kong
    MS-Off Ver
    Office 365
    Posts
    483

    Re: Need help with WORKDAY.INTL formula

    Thank you thank you sooooo much ...Glenn, bebo021999 and Bo_Ry. I can't thank you enough all of you, made
    my long weekend productive.

    Happy Easter guys. God bless you all.

+ 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. WORKDAY.INTL help
    By crosedean5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2021, 09:42 AM
  2. =WORKDAY.INTL need help with weekend
    By eli-vergara in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-29-2020, 04:40 PM
  3. WORKDAY.INTL in Excel 2007 to exclude Fri/Sat
    By Samanar in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-02-2017, 06:05 PM
  4. [SOLVED] Help with Workday.intl
    By NeedForExcel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 03-30-2015, 07:01 AM
  5. Workday.intl problems
    By JacoKanban in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-06-2013, 06:40 PM
  6. Workday.intl function--Holidays help
    By bluskye425 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-24-2013, 02:28 PM
  7. Workday.INTL or Workday function issue
    By junoon in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2013, 03:14 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