Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • How to calculate correlation coefficient Correlation in Excel
  • Remove Duplicates Example in Excel
  • Use Data Form to input, edit and delete records in Excel
  • Create Scatter Chart in Excel
  • Filter Data Based on Date in Excel

References

  • How to use Excel TRANSPOSE Function
  • How to create dynamic named range with OFFSET in Excel
  • Vlookup Examples in Excel
  • How to get first row number in range in Excel
  • How to calculate two-way lookup VLOOKUP in Excel Table

Data Validations

  • Excel Data validation don’t exceed total
  • How To Create Drop-down List in Excel
  • Excel Data validation date in next 30 days
  • Excel Data validation allow weekday only
  • Excel Data validation require unique number

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

by

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 invoice due dates, expected delivery times, or the number of days of work performed.

Tip: To calculate the serial number of the date before or after a specified number of workdays by using parameters to indicate which and how many days are weekend days, use the WORKDAY.INTL function.

Syntax of WORKDAY function

WORKDAY(start_date, days, [holidays])

The WORKDAY function syntax has the following arguments:

  • Start_date: A date that represents the start date.
  • Days: The number of nonweekend and nonholiday days before or after start_date. A positive value for days yields a future date; a negative value yields a past date.
  • Holidays (Optional): An optional list of one or more dates to exclude from the working calendar, such as state and federal holidays and floating holidays. 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.
Worked Example:   How to calculate Next working/business day in Excel

Important: Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.

Worked Example:   Get project end date in Excel

WORKDAY formula explanation

  • Microsoft Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
  • If any argument is not a valid date, WORKDAY returns the #VALUE! error value.
  • If start_date plus days yields an invalid date, WORKDAY returns the #NUM! error value.
  • If days is not an integer, it is truncated.

Example of WORKDAY function

  • Add workdays to date custom weekends in Excel
  • Add workdays no weekends in Excel
  • Calculate series of dates by workdays in Excel
  • Get project midpoint in Excel
Worked Example:   Get project midpoint in Excel

Steps to follow:

1. Open a new Excel worksheet.

2. Copy data in the following table below and paste it in cell A1

Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.

You can adjust the column widths to see all the data, if need be.

Data
10/1/2008 Start date
151 Days to completion
11/26/2008 Holiday
12/4/2008 Holiday
1/21/2009 Holiday
Formula Description (Result) Result
=WORKDAY(A2,A3) Date 151 workdays from the start date (4/30/2009) 4/30/2009
=WORKDAY(A2,A3,A4:A6) Date 151 workdays from the start date, excluding holidays (5/5/2009) 5/5/2009

Post navigation

Previous Post:

DCOUNT function: Description, Usage, Syntax, Examples and Explanation

Next Post:

231 Keyboard Shortcut Keys In Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • IF with wildcards in Excel
  • IF, AND, OR and NOT Functions Examples in Excel
  • How to return blank in place of #DIV/0! error in Excel
  • FALSE function: Description, Usage, Syntax, Examples and Explanation
  • How to use Excel OR Function

Date Time

  • How to calculate project start date based on end date in Excel
  • EOMONTH function: Description, Usage, Syntax, Examples and Explanation
  • Next biweekly payday from date in Excel
  • How to join date and text together in Excel
  • Get days between dates in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • Map text to numbers in Excel
  • Group numbers with VLOOKUP in Excel
  • If cell contains one of many things in Excel
  • Running count group by n size in Excel

General

  • How to get original price from percentage discount in Excel
  • How to calculate percent change in Excel
  • Count cells less than in Excel
  • How to generate random number between two numbers in Excel
  • 231 Keyboard Shortcut Keys In Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning