The WORKDAY function - The function returns a date before or after the start date of a number of working days in Excel
The following article introduces you to the WORKDAY function - one of the functions in the date and time group function is very popular in Excel.
Description: The function returns a date before or after the start date of a specified number of working days. Weekends and public holidays do not count toward business days.
Syntax: WORKDAY (start_date, days, [holidays])
Inside:
- start_date: The start date, is a required parameter.
- days: A day not in the weekend and holidays before or after start_date, is a required parameter.
+ days> 0 -> number of days generated in the future.
+ days <0 -> number of days created in the past.
- holidays: Days to be excluded from working days which are not on public holidays.
Attention:
- Excel stores dates as sequential serial numbers to facilitate the calculation process.
- Any one of the arguments is invalid -> the function returns the #VALUE! Error value
- If start_date + days value creates an invalid date -> the function returns the #NUM! Error value
- If days is a decimal, it is truncated to an integer.
For example:
Calculate the days after the working day a specified number of days for the following jobs:
- In the cell to calculate, enter the formula: = WORKDAY (F7, G7, H7).
- Press Enter -> return value is:
- Similarly copying the formula for the remaining value results:
- Where the number of holidays is greater than 1 enter the formula: = WORKDAY (F9, G9, H9: H10).
- Press Enter -> return value is:
Above are instructions and some specific examples when using the WORKDAY function .
Good luck!
You should read it
- DATE function - The date function in Excel
- DAY function - The function returns the date value of a specific date in Excel
- NOW function - The function returns the current date and time in Excel
- NETWORKDAYS function - The function returns the number of whole working days between 2 dates in Excel
- COUPNCD - The function returns the next coupon date in Excel
- The DAYS function - The function returns the number of days between 2 dates in Excel
- DAYS360 function - The function returns the number of days between 2 dates, based on 360 days in Excel
- WEEKDAY function - The function returns the weekday of a corresponding date in Excel
May be interested
- The WORKDAY.INTL function - The function returns a date before or after the date starting with a custom weekend in Excelworkday.intl: the function returns a date before or after the start date of a specified number of working days with a custom weekend. the weekend parameter indicates which day and how many days. syntax: workday (start_date, days, [weekend], [holidays])
- YEAR - The function returns the year corresponding to a date in Excelyear: the function returns the year value corresponding to a date in excel. the year value returns an integer with a value between 1900 and 9999. syntax: year (serial_number).
- YEARFRAC function - The function returns the fifth calculated by the number of whole days between two specific dates in Excelyearfrac function: the function returns the fifth calculated by the number of whole days between two specific dates in excel. syntax: yearfrac (start_date, end_date, [basis])
- NETWORKDAYS.INTL function - The function returns the number of whole working days between 2 dates, specifying weekends in Excelnetworkdays.intl: the function returns the number of whole working days between two dates by using a parameter that determines the number of weekends and which day of the week. syntax: networkdays.intl (start_date, end_date, [weekend], [holidays])
- DATEDIF function - The function calculates the number of days, months, years between 2 dates in Exceldatedif function: the function performs the calculation of number of days, months, years between 2 dates in excel. functions are useful in formulas for calculating age numbers. syntax: datedif (start_date, end_date, unit)
- DATEVALUE function - Functions to convert text format dates to serial numbers in Exceldatevalue function: the function converts the stored date value as text into a serial number recognized by excel. the function is useful in cases where the worksheet contains the date format you want to filter or sort. syntax: datevalue (date_text)