Table of Contents
To calculate the number of working days between two dates in Google Sheets, you can use the NETWORKDAYS formula. This function takes into account weekends and any specified holidays to accurately determine the number of working days. Simply input the start and end dates in the appropriate cells and use the formula to calculate the result. This method is useful for individuals and businesses looking to track the number of working days for project timelines or employee attendance.
NETWORKDAYS
Returns the number of net working days between two provided days.
Sample Usage
NETWORKDAYS(DATE(1969,7,16),DATE(1969,7,24))
NETWORKDAYS(A2,B2)
NETWORKDAYS(40909,40924)
NETWORKDAYS(40900,40950,{40909,40924})
Syntax
NETWORKDAYS(start_date, end_date, [holidays])
start_date– The start date of the period from which to calculate the number of net working days.end_date– The end date of the period from which to calculate the number of net working days.holidays– [ OPTIONAL ] – A range or array constant containing the date serial numbers to consider holidays.
Notes
NETWORKDAYSdoes not autoconvert number formats in the same way that Google Sheets does upon direct entry into cells. Therefore,NETWORKDAYS(10/10/2000,10/10/2001)is interpreted asNETWORKDAYS(0.005,0.00499750124938), the quotients of 10 divided by 10 divided by 2000 and 2001, respectively.NETWORKDAYScalculates the number of work days between two dates. To calculate the working day a specific number of days ahead of a date, useWORKDAY.NETWORKDAYSworks similarly toNETWORKDAYS.INTLbut only treats Saturday and Sunday as the weekend. UseNETWORKDAYS.INTLto use other days of the week as the weekend.
See Also
NETWORKDAYS.INTL: Returns the number of net working days between two provided days excluding specified weekend days and holidays.
WORKDAY: Calculates the end date after a specified number of working days.
TO_DATE: Converts a provided number to a date.
N: Returns the argument provided as a number.
DATEVALUE: Converts a provided date string in a known format to a date value.
DATE: Converts a year, month, and day into a date.
Examples
Returns the number of workdays between the start_date and end_date (based on the given list of holidays).
[wpcc-iframe height=”300″ src=”https://docs.google.com/spreadsheet/pub?key=0As3tAuweYU9QdGtzaDluSEpYSFhvVVlseHdQOXczQlE&single=true&gid=0&output=html&widget=true” width=”500″]
Cite this article
stats writer (2024). How can I calculate the number of working days between two dates in Google Sheets?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-calculate-the-number-of-working-days-between-two-dates-in-google-sheets/
stats writer. "How can I calculate the number of working days between two dates in Google Sheets?." PSYCHOLOGICAL SCALES, 28 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-calculate-the-number-of-working-days-between-two-dates-in-google-sheets/.
stats writer. "How can I calculate the number of working days between two dates in Google Sheets?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-calculate-the-number-of-working-days-between-two-dates-in-google-sheets/.
stats writer (2024) 'How can I calculate the number of working days between two dates in Google Sheets?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-calculate-the-number-of-working-days-between-two-dates-in-google-sheets/.
[1] stats writer, "How can I calculate the number of working days between two dates in Google Sheets?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.
stats writer. How can I calculate the number of working days between two dates in Google Sheets?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.
