Are you working today? or Do you have Work Off or holiday today?
I am asking this question because I am gonna tell you the most commonly used function in Excel “Workday”. “Workday” as name suggest that it brings the day when you will be working or you are expecting something to be done on a particular date. You can derive all these dates with the help of Excel Function Workday.
Suppose you do not want to work on Weekends or you have a list of holidays which should be excluded from the calendar you are working on, you can use this function. This function helps people to prepare list of dates excluding holidays/Weekends etc i.e calendar, project timelines, delivery date etc. You can also derive the next working day by keeping in mind your holiday list. Lets learn this function
The formula of the WORKDAY Function In Excel:
Syntax: =WORKDAY(start_date, days, [holidays])
Things to Remember:
– This function considers the Saturday and Sunday as default holiday and always exclude these but if you want to make customer define function. You can use WORKDAY.INTL function which is more robust.
Example – Suppose, 2nd Sep 2019 is a Start date and now we need to know the next working day.
2nd Sep 2019 is “Monday” and if we need the next working date (i.e. 1 day gap) then “days” argument will be “1” and will be following below Syntax:
=WORKDAY(A2,1,$D$2:$D$5)
Note: We added the holidays as sample in D Column, you can expand the list and increase the range in “Holidays” parameter. See below image:
Next working date to 2nd Sep 2019 (Monday) is 3rd Sep 2019 (i.e. Tuesday)
– In above similar example if we need the working day with 2 days gap. i.e. for 2nd Sep 2019 (Monday) and we need the next working date to “Wednesday”. Then “days” argument will be “2” and we will be following below Syntax:
=WORKDAY(A2,2,$D$2:$D$5)
You can see in Cell “B2” where we calculated the date 04th September. You can use number formatting to use desired date format
Hope you learnt this Function! you may comment in below comment box for any questions regarding this formula.
If you are liking our articles and want to learn more similar tricks, please do not forget to Subscribe us or follow us on Social Media by clicking below buttons.
Happy Reading!
Microsoft Excel “HOUR, MINUTE, SECOND Functions” are time related functions helps to extract the Hour, Minute or Second from a complete Time.
Watch: How to use MODE & MODEIF Function in Excel? What is MODE Function? In Excel, the “MODE” function is a statistical tool that identifies and returns the most frequently occurring value within a set…
INDIRECT function is used to convert the text/string into cell reference. Function provides output as the value of that cell reference.
REPT function is used to repeat the text or cell reference to multiple times
This quick tutorial explains the basics of external references in Excel and shows how to reference another sheet or workbook in your formulas.
Watch: How to use COUNTIF & COUNTIFS Function in Excel? What is COUNTIF Function? In Excel, “COUNTIF” counts the number of cells within a range that meet a single specified criteria. Click here to Read…