WORKDAY function in Excel

Excel Tutorials for beginners, Intermediates and experts.

How to generate random date between two dates in Excel

To generate random dates between two dates, you can use the RANDBETWEEN function, together with the DATE function. See example below: Formula =RANDBETWEEN(date1,date2) Explanation In the example shown, the formula in B5 is: =RANDBETWEEN(DATE(2016,1,1),DATE(2016,12,31)) This formula is then copied down from B5 to B11. The result is random dates between Jan 1, 2016 and Dec… read more »

How to calculate project start date based on end date in Excel

To calculate a project start date or custom date based on an end date and duration in days, you can use the WORKDAY function. Note: WORKDAY function does not count the start date as a workday. Formula =WORKDAY(start,-days,holidays) Explanation In the example shown, the formula in E5 is: =WORKDAY(C5,-D5,holidays) where “holidays” is the named range G5:G9. How… read more »

Get project midpoint in Excel

To calculate an approximate project midpoint date, you can use the WORKDAY function. Note: The WORKDAY function returns a date in the future or past, based on a start date, workdays, and optional holidays. WORKDAY automatically excludes weekends, and counts only Monday through Friday as workdays. Formula =WORKDAY(start,days/2,holidays) Explanation In the example shown, the formula in E5… read more »

Get project end date in Excel

To calculate a project end date based on a start date and duration, you can use the WORKDAY function. Formula =WORKDAY(start,days,holidays) Explanation In the example shown, the formula in E5 is: =WORKDAY(C5,D5,holidays) where “holidays” is the named range G5:G9. How this formula works This formula uses the WORKDAY function to calculate an end date. WORKDAY can calculate dates… read more »

How to calculate Next working/business day in Excel

To get the next working day, or next business day, you can use the WORKDAY function. Formula =WORKDAY(date,1,holidays) Explanation In the example shown, the formula in C4 is: =WORKDAY(B4,1,holidays) How this formula works The WORKDAY formula is fully automatic. Given a date and days, it will add days to the date, taking into account weekends… read more »

How to calculate future date say 6 months ahead in Excel

— Next business day 6 months in future To get a date 6 months in the future, on the next work day, you can use a formula based on the WORKDAY function, with help from EDATE. Formula =WORKDAY(EDATE(date,6)-1,1,holidays) Explanation In the example shown, the formula in C6 is =WORKDAY(EDATE(B6,6)-1,1,B9:B11) How this formula works Working from the… read more »

Calculate series of dates by workdays in Excel

This tutorials covers how to generate series of dates increment by workdays from a single start date in Excel If need to generate a dynamic series of dates that are workdays only (i.e. Monday through Friday), you can do so with a simple formula that uses the the WORKDAY function Formula =WORKDAY(date,1) Explanation   In the… read more »

Display Date is workday in Excel

This tutorial show how to Display Date is workday in Excel using the example below. To determine if a date is a workday or not, you can use a formula based on the WORKDAY function. =WORKDAY(date-1,1,holidays)=date Explanation of how this formula works In the example shown, the formula in C5 is: =WORKDAY(B5-1,1,holidays)=B5 which returns TRUE, since Monday,… read more »

Get last working day in month in Excel

If you need to determine the last working day of a given month and year, then this tutorials is for you. To get the last working day in a month, you can use the WORKDAY function together with the EOMONTH function. See example below: Formula =WORKDAY(EOMONTH(date)+1,-1) > In the example, the formula in C4 is:… read more »

Add business days to date in Excel

If you need to add or subtract business days (workdays) to a date so that you can calculate a date in the future or past that skips weekends (and holidays),  then this tutorials is for you. The example below shows how to  Add business days to date in Excel. You can use the WORKDAY function. Holidays… read more »

Sidebar