Can someone tell me what I am missing here?
I have around 15 reports sent on different work days of the month, 1st, 5th, 11th, 16th, 18th, etc, my work week is Mon-Fri and has a list of holidays.
I am using the below formula where G$5 is 5/1/2023 mm-dd-yyyy, $A6=0 first workday of the month, holidays listed below (if am referencing the dates column)
Excel gives the result as 1st May 2023, which is incorrect since I have a holiday on that date
The same issue happens for the month of Jan as well the output date is 1st Jan 2023, which is a Sunday
WORKDAY.INTL(G$5,$A6,1,$X$6:$X$13)
Holidays-2023 | Dates | Column and Row number |
New Year | 2-Jan | X6 |
Labour Day | 1-May | X7 |
Independence Day | 15-Aug | X8 |
Ganesh Chaturthi | 19-Sep | X9 |
Dussehra | 24-Oct | X10 |
Diwali | 14-Nov | X11 |
Diwali | 15-Nov | X12 |
Christmas | 25-Dec | X13 |
As far as I know, if you use 0 for the number of days, it simply returns the start date, ignoring other settings. It's up to you to ensure that the start date actually is a working day.
Not sure if i have understood correctly (always best to add an example), but would the below work?
=IF(ISNUMBER(MATCH(G5,$X$6:$X$13,0))=TRUE,WORKDAY.INTL(G5,$A$6+1,1,$X$6:$X$13),WORKDAY.INTL(G5,$A$6,1,$X$6:$X$13))
I have dragged down and all the dates in the holiday table are offset by a day