How to Use the NETWORKDAYS.INTL Function in Excel
Summary: Explore the capabilities of the NETWORKDAYS.INTL function in Microsoft Excel—an essential tool for calculating the number of working days between two dates while considering specified weekends and holidays. In this tutorial, tailored for data analysts with a passion for technology, delve into step-by-step instructions to seamlessly integrate the NETWORKDAYS.INTL function into your data analysis toolkit.
The NETWORKDAYS.INTL function within Excel empowers you to determine the number of working days between two specified dates, considering weekends and optional holidays based on a specified weekend numbering system. To harness the potential of this function, follow these comprehensive steps:
Open Excel: Launch Microsoft Excel on your computer.
Select a Cell: Choose the cell where you want to display the calculated number of working days using the NETWORKDAYS.INTL function.
Enter the Formula: Input the following formula into the selected cell:
=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
Replace "start_date" with the earlier date, "end_date" with the later date, "[weekend]" with the desired weekend numbering system (e.g., 1 for Saturday-Sunday), and "[holidays]" with an optional range of holiday dates (if applicable).
Press Enter: After entering the formula, press the Enter key to execute the function. The cell will display the calculated number of working days between the specified dates, considering the designated weekend and holidays.
Example: Suppose you want to calculate the number of working days between August 1, 2023, and August 15, 2023, considering weekends on Sunday (1) and Monday (2), and excluding the holiday on August 7, 2023. Use this formula:
=NETWORKDAYS.INTL("2023-08-01", "2023-08-15", "0000011", {"2023-08-07"})
View Calculated Number of Working Days: The cell will now display the calculated number of working days, which is "8" in this example.
Summary: By mastering the NETWORKDAYS.INTL function in Excel, you can seamlessly calculate the number of working days between two dates, considering specified weekends and holidays based on a designated weekend numbering system. By following the systematic instructions outlined in this tutorial, you can adeptly incorporate this function into your data analysis endeavors.
Feel free to ask questions or share your thoughts, fostering further exploration of this topic.
Note: The NETWORKDAYS.INTL function is available in various versions of Microsoft Excel, including Excel 2013, Excel 2016, Excel 2019, and Microsoft 365.