![]() |
Leading the way in Microsoft Office Development |
| Home | | | Excel | | | Word | | | PowerPoint | | | Consultancy | | | Feedback | | | Contact |
| Microsoft Excel > Functions > Date and Time > WORKDAY |
WORKDAY(start_date, days, holidays) |
| Returns the serial number before or after a given number of days from a given date. |
| start_date | The starting date. | |
| days | The number of nonweekend and nonholiday days before or after "start_date". | |
| holidays | The dates to exclude from the working calendar, holidays and floating days. |
| REMARKS |
| This function is only available if you have the Analysis ToolPak add-in installed. | ||
| This function excludes weekends and any other dates specified in the "holidays" array. | ||
| If "start_date" is not a valid date, then #VALUE! is returned. | ||
| If "start_date" plus "days" yields an invalid date, then #NUM! is returned. | ||
| If "days" is not an integer, it is truncated. | ||
| If "days" > 0, then a future date is returned. | ||
| If "days" < 0, then a past date is returned. | ||
| If "holidays" has more than one date, you can either use an array constant or refer to a cell range. | ||
| If "holidays" contains an invalid date, then #VALUE! is returned. | ||
| The list can be either a range of cells that contain the dates or an array constant of the serial numbers that represent the dates. | ||
| WORKDAY6() - Returns the serial number before or after a given number of days from a start date assuming a 6-day working week. | ||
| WORKDAYSMISC() - Returns the serial number before or after a given number of days from a start date using a defined list of workdays. |
| EXAMPLES |
|
| Functions - W | Index - W | Dates & Times | Office Online |
| Copyright © 2004-2007 Better Solutions Limited. All Rights Reserved. | Top |