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

Data Analysis

  • How to Create One and Two Variable Data Tables in Excel
  • How to add Trendline to a chart in Excel
  • Remove Duplicates Example in Excel
  • How to Create Area Chart in Excel
  • Excel Frequency Function Example

References

  • How to create dynamic named range with OFFSET in Excel
  • Two-column Lookup in Excel
  • How to get first row number in range in Excel
  • How to use Excel FORMULATEXT function
  • Create hyperlink with VLOOKUP in Excel

Data Validations

  • Excel Data validation no punctuation
  • Data validation must not exist in list
  • Excel Data validation must not contain
  • Excel Data validation only dates between
  • Prevent invalid data entering in specific cells

How to calculate nth day of week in month in Excel

by

To get the nth day if week in a month (i.e. the first Tuesday, third Tuesday, forth Thursday, etc.) you can use a formula based on the DAY and WEEKDAY functions.

Formula

=date-DAY(date)+1+n*7-WEEKDAY(date-DAY(date)+8-dow)

Note:  Day of week is abbreviated “dow” in the generic form of the formula. This is a number between 1 (Sunday) and 7 (Saturday) which can be changed as needed.

Explanation

In the example shown, the formula in E5 is:

=B5-DAY(B5)+1+D5*7-WEEKDAY(B5-DAY(B5)+8-C5)

How this formula works

First, this formula determines a “start date”. The “first of month” is calculated with the DAY function here:

=B5-DAY(B5)+1

Then  n * 7 days to the first of the month, to get a start date n weeks from the first of the month. In the generic form of the formula, n represents “nth”.

The next step is to calculate the adjustment required to reach the final result. The adjustment is calculated using WEEKDAY and DAY:

WEEKDAY(B5-DAY(B5)+8-C5)

Inside WEEKDAY, the first of the month is again calculated, then 8 days are added and the value for dow (day of week) is subtracted.

Finally the calculated adjustment is subtracted from original start date to get the final result.

Post navigation

Previous Post:

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

Next Post:

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

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

  • Invoice status with nested if in Excel
  • XOR function: Description, Usage, Syntax, Examples and Explanation
  • OR function: Description, Usage, Syntax, Examples and Explanation
  • NOT function: Description, Usage, Syntax, Examples and Explanation
  • SWITCH function: Description, Usage, Syntax, Examples and Explanation

Date Time

  • Convert text timestamp into time in Excel
  • Get days between dates ignoring years in Excel
  • How to calculate next day of week in Excel
  • Find Last Day of the Month in Excel
  • Get work hours between dates custom schedule in Excel

Grouping

  • How to randomly assign data to groups in Excel
  • How to randomly assign people to groups in Excel
  • Calculate conditional mode with criteria in Excel
  • Group times into unequal buckets in Excel
  • Map text to numbers in Excel

General

  • Basic text sort formula in Excel
  • How to set or clear a print area in Excel Worksheet
  • How to Create Calendar in Excel
  • How to create dynamic worksheet reference in Excel
  • How to test a range for numbers in Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning