Returns a number that represents a date that is the indicated number of working days before or after a date (the starting date). Working days exclude weekends and any dates identified as holidays. Use WORKDAY to exclude weekends or holidays when you calculate invoice due dates, expected delivery times, or the number of days of work performed. Show Tip: To calculate the serial number of the date before or after a specified number of workdays by using parameters to indicate which and how many days are weekend days, use the WORKDAY.INTL function. SyntaxWORKDAY(start_date, days, [holidays]) The WORKDAY function syntax has the following arguments:
Important: Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text. Remarks
ExampleCopy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data. is a frequently needed function. Usually, we overlook the weekends and holidays when calculating this. To exclude weekends and holidays from the count of workdays, Excel offers two distinct functions. In this article, we will discuss 2 ways of how to calculate working days in Excel, excluding weekends and holidays.Table of Contents hide Download Practice Workbook 2 Effective Ways to Calculate Working Days in Excel Excluding Weekends and Holidays 1. Using NETWORKDAYS Function 1.1 Excluding Only Weekends 1.2 Excluding Both Weekends and Holidays 2. Applying NETWORKDAYS.INTL Function 2.1 Excluding Only Weekends 2.2 Excluding Both Weekends and Holidays Conclusion Download Practice WorkbookCalculate Working Days Excluding Weekends and Holidays.xlsx 2 Effective Ways to Calculate Working Days in Excel Excluding Weekends and HolidaysIn this article, we will discuss 2 handy ways to calculate working days in Excel, excluding weekends and holidays. Firstly, we will use the NETWORKDAYS function to calculate the workdays for two cases, one considering only the weekends and the other considering both weekends and holidays. Then, we will use the NETWORKDAYS.INTL function to calculate workdays for both cases mentioned earlier. 1. Using NETWORKDAYS FunctionThe NETWORKDAYS function calculates the number of workdays between two dates considering both weekends and holidays. This function assumes that the weekend is on Saturday and Sunday. We will use it to calculate the total number of workdays between two dates, considering weekdays as well as holidays. 1.1 Excluding Only WeekendsIn this method, we will use the NETWORKDAYS function and consider only the weekends. Steps:
1.2 Excluding Both Weekends and HolidaysIn this instance, we will consider weekends and holidays when calculating the net workdays. Steps:
2. Applying NETWORKDAYS.INTL FunctionIn this method, we will count the workdays using the NETWORKDAYS.INTL function. Here, we will consider weekends other than the regular Saturday and Sunday weekends. 2.1 Excluding Only WeekendsIn this instance, we will calculate the net workdays excluding only the weekends. Steps:
In this case, the third argument is 7 which denotes a Friday and Saturday weekend. The following is the list of numbers that denote different weekends. 2.2 Excluding Both Weekends and HolidaysIn this case, we will use the NETWORKDAYS.INTL function to get the values of total workdays between two dates. In this case, we will keep in mind not only the weekends but also the holidays. Steps:
ConclusionThis article is about counting the number of working days in Excel excluding the weekends and holidays. As you can see, there are two functions which are used to calculate the working days. The procedure is very simple and doesn’t require too many options. How do I ignore weekends in Excel?How to add days to a date in excel excluding weekends. Select a blank cell where you want to put the calculation result, type the formula =A2 + 10, and press the Enter key.. If you need to apply this same formula to other cells, drag the formula cell's AutoFill handle to these cells as you need.. How do I exclude weekends from two dates?If you'd like to calculate the difference between two dates while excluding weekends and holidays, use the NETWORKDAYS function instead. This also looks for 3 arguments: the start date, the end date, and optional holidays. Unlike the WORKDAY function, the NETWORKDAYS function does include or count the start day.
How do I exclude Sundays in Excel?Count days excluding Sundays with formula
Here I can introduce a formula for counting days excluding Sundays during a date range. Select a blank cell, here is C2, and type this formula =B2-A2-INT((B2-A2-WEEKDAY(B2)+1)/7) into it, and then press Enter key, a date displayed.
|