## Excel Office

Excel How Tos, Tutorials, Tips & Tricks, Shortcuts

# Tag: WORKDAY function

## WORKDAY function: Description, Usage, Syntax, Examples and Explanation

What is WORKDAY function in Excel? WORKDAY function is one of Date and Time functions in Microsoft Excel that 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…

## 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 31, 2016 (random dates in…

## 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 this formula works This formula…

## 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 is: =WORKDAY(C5,E5/2,holidays) where “holidays” is…

## 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 in the future or past,…

## 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 and, optionally, holidays. In this…

## 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 inside out, EDATE first calculates…

## 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 example, B6 is the hard-coded…

## 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, Dec. 21, 2015 is a…

## 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: =WORKDAY(EOMONTH(B4,0)+1,-1) Explanation Working from the…