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

Data Analysis

  • Calculate Conditional Percentile ‘IF’ in table in Excel
  • Chart Axes in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Working With Tables in Excel
  • What-If Analysis: Scenarios and Goal Seek in Excel

References

  • How to use Excel ROW Function
  • How to use Excel TRANSPOSE Function
  • How to get address of last cell in range in Excel
  • Last row number in range
  • Extract all partial matches in Excel

Data Validations

  • Excel Data validation specific characters only
  • How To Create Drop-down List in Excel
  • Excel Data validation allow uppercase only
  • Prevent invalid data entering in specific cells
  • Excel Data validation unique values only

How to get Weekdays, Working days between Two Dates in Excel

by

Learn how to get the day of the week of a date in Excel and how to get the number of weekdays/working days between two dates.

Weekday Function

1. The WEEKDAY function in Excel returns a number from 1 (Sunday) to 7 (Saturday) representing the day of the week of a date. Apparently, 12/18/2017 falls on a Monday.

2. You can also use the TEXT function to display the day of the week.

Worked Example:   How to get Holiday Date from Year in Excel

3. Create a custom date format (dddd) to display the day of the week.

Networkdays Function

1. The NETWORKDAYS function returns the number of weekdays (weekends excluded) between two dates.

2. If you supply a list of holidays, the NETWORKDAYS function returns the number of workdays (weekends and holidays excluded) between two dates.

The calendar below helps you understand the NETWORKDAYS function.

Worked Example:   Floating Point Errors in Excel

3. Dates are stored as numbers in Excel and count the number of days since January 0, 1900. Instead of supplying a list, supply an array constant of the numbers that represent these dates. To achieve this, select E1:E2 in the formula and press F9.

Workday Function

The WORKDAY function is (almost) the opposite of the NETWORKDAYS function. It returns the date before or after a specified number of weekdays (weekends excluded).

Worked Example:   How to calculate working days left in month in Excel

Note: the WORKDAY function returns the serial number of the date. Apply a Date format to display the date.

The calendar below helps you understand the WORKDAY function.


Again, if you supply a list of holidays, the WORKDAY function returns the date before or after a specified number of workdays (weekends and holidays excluded).

Post navigation

Previous Post:

How to calculate number of Days until Birthday

Next Post:

How to Calculate Age 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

  • OR function Examples in Excel
  • How to use Excel XOR Function
  • How to use Excel FALSE Function
  • Excel If, Nested If, And/Or Criteria Examples
  • IF with boolean logic in Excel

Date Time

  • Add years to date in Excel
  • Get fiscal year from date in Excel
  • Steps to create Dynamic calendar grid in Excel
  • How to calculate next scheduled event in Excel
  • Basic Overtime Calculation Formula in Excel

Grouping

  • Group times into 3 hour buckets in Excel
  • Running count group by n size in Excel
  • Group times into unequal buckets in Excel
  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel

General

  • How to create dynamic named range with INDEX in Excel
  • How to calculate profit margin percentage in Excel
  • How to get original price from percentage discount in Excel
  • How to create dynamic worksheet reference in Excel
  • Flash Fill in Excel
© 2023 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning