“NETWORKDAYS” function is very helpful feature in the Microsoft excel to calculate the working days from a particular period excluding “Saturday and Sundays”. NETWORKDAYS function subtract the Start Day from the End Date provided.
It comes with an advantage of excluding “Holidays” i.e. Holidays will not be counted as working days even those are falling between Monday to Friday.
This function really helps to in multiple ways, for example to calculate total pay days, prepare day wise work schedule, allocation and planning of project for an organization for a period. “Holiday” feature also helps to utilize the function in very effective manner.
Things To Remember
Please note that it will always returns to the whole number or integer value as output.
Also, Microsoft Excel calculate dates from 1st January 1900, if you use any date before than 1st January 1900 it will be shown as #VALUE! (Error)
Syntax: =NETWORKDAYS(start_date, end_date, [holidays])
Start_date argument is the date from which workday will be calculated. This date can be a working day or weekend, past day or future day.
End_date argument is the date to which workday will be calculated.
[holidays] Argument (Optional), Holidays argument is optional argument and used to excludes the holidays from NETWORKDAYS function output. We can give the complete range to exclude such days. Holidays are exception dates and such dates will not be counted as workdays (even those are falling on Monday to Friday)
We have taken 1st January 2019 as Start date and 31st December 2019 as End date and will be calculating net working days during a period of one year. Following the syntax, we have 261 net working days during that period
We have taken 1st January 2019 as Start date and 31st December 2019 as End date and have a list of holidays.
Net working days will be calculating considering 1st Jan 2019 as Holiday and total net working days for a year will be 260.
We mentioned that Microsoft Excel will calculate the date functions starting from 1st January 1900 and if we use any date prior 1st January 1900 this will show as #VALUE! (Error)
We have taken 1st January 1889 as Start date and 31st December 1889 and since it is prior to 1st January 1900 output is shown as #VALUE! (Error)
ROWS function is used to get the total count of rows in an array or in cells range in an excel worksheet.
WEEKDAY function applies to a Date and returns the output for Day of the week. The output of the function varies from 0 to 7
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…
SUBSTITUTE function is used to substitute the existing old text to new text.
UPPER function is used for changing the text/string to UPPER case in Microsoft Excel. The output of the function returns value in new cell.
COUNTBLANK function is used to get the total count of Blank or Empty cell in range.
COUNTBLANK Function has one required argument i.e. range.