Workday.Int Functions

New Contributor



I have data with different leave start date and while applying functions with holiday provided with different out put please guide as per below table.

=WORKDAY.INT(LevaeStartDate,LeaveDays,16,Holidays)-1 is qual to LeaveEnddate

WorkerIDLeaveStartDateHolidays LeveDays Without Holiday and Friday

Formula Result



(Manually Calculated)

RemaksTotal Days
711-Feb-1912-Feb-19151-Mar-1928-Feb-19Wrong Output date18
10115-Jun-194-Jun-19612-Jun-1913-Jun-19Wrong Output date9
101318-Apr-195-Jun-19220-Apr-1920-Apr-19Correct output date3
101711-Jul-196-Jun-192614-Aug-1914-Aug-19 35
10283-Jun-1911-Aug-191928-Jun-1927-Jun-19 25
4 Replies



Although I do not clearly understand where the problem is, would be better also to see an Excel sample file, however, here is a link to a complete guide to Date Math Functions, including the Workday.Intl function

The weekend argument 16 is for Friday Off

Hope that helps

Nabil Mourad

This tutorial is a Festival of Date Formulas & Functions! With over 40 examples that will allow you to hold a firm grasp of Date Math. I also included on a s...


Minus one day at the end of the formula looks incorrect. For example, for ID=7 WORKDAY.INT goes on 02 March. Minus one day is 01 March, but that's Friday, thus one more day shall be deducted.


IMHO, more correct will be to use LeaveDays-1 within the formula - to the first day of leave you add total days of leaves minus 1.


For the next record, ID=1011, LeaveStartDate is 05 June, but that day is holiday. Usually LeaveStartDate is considered as first workday on leave period. If that's not your case, when you shall check if LeaveStartDate is holiday or weekend, and deduct one day depends on that.


@Sergei Baklan 


Thanking you very much and I understand the incorrect formula. So I have to provide one more conditions like if leave start date is holiday should add one day additional. And also if leaves end with holiday need to deduct one more day.


Thanking you very much foe your guidance.



Something like this. You may do checks within your formula, but it's better to play with sample file to be sure how to change it exactly.