Excel Formula: Get Nth Day of Week in Month By Given Date
As we known, we can use a formula to get the weekday of a given date in Excel, but most of you do not know there is also a formula can get the nth weekday of a given date.
Syntaxt and Arguments
|Date: the date that you want to find the nth weekday based on.|
|N: An integer that indicates the nth weekday you want to find based on the given date. For instance, you want to find the second specific weekday, use number 2 in the formula.|
|Dow: The integer 1-7 indicates the weekday that you want to find from the given date.|
Usually, the argument N is in the scale of the integer 1-4, if you want to find the fifth specific weekday, supposing the 5th Tuesday of 1/1/2021, it will get the first Tuesday of the next month, 2/2/2021.
The formula returns a serial number, you need to format it as date format.
How the formula works
A table B3:D5, column B3:B4 lists the date that you used to find the weekday based on, C3:C5 contains the numbers that indicate the specific weekday you want to get, D3:D5 tell you the nth weekday you need to find. Please use the formula in cell F3 as below:
Press Enter key to get the first serial number result, then drag auto fill handle down to cell F5.
Then keep the results selected, go to Home tab, and choose the Short Date or Long Date from the drop-down list of Number Format.
WEEKDAY function: returns an integer number from 1 to 7 to represent the day of the week for a given date in Excel.
DAY function: gets the day as a number (1 to 31) from a date.
- Find next date in schedule list
Supposing you have a table with two columns in Excel, one contains the schedule contents, the other contains the schedule date, now you want to find the next date in the schedule based on today...
- Find earliest date and latest date for each group
In this tutorial, it provides formulas to find the earliest date and latest date for each group in Excel.
- Gount days between two days
To count the number of days or months or years between two given dates will be easy in Excel after you reading this tutorial
- Create weekly date range
In this tutorial, it provides a formula to quickly get the weekly date range in Excel.
- Excel WEEKNUM Function
Returns the week number of the given date in a year
- Excel WORKDAY Function
Adds workdays to the given start date and returns a workday
- Excel WEEKDAY Function
Get day of the week as a number (1 to 7) from date
- Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date
- Excel NOW Function
Get the current time and date