How to determine 1st, 2nd, or 3rd "Monday" (or any given weekday) a specific date represents

cwtucktwo

New Member
Joined
Mar 7, 2019
Messages
2
I am looking for formula that can tell me if a given daterepresents the first, second, third and so on of that particular weekday.
For instance, I have a column with a list of days (columnA), and I have a column beside that (column B) that identifies what day ofthe week that date represents via the WEEKDAY function. I am trying to figureout a formula that can take the given date and determine that it represents the1st Monday of the month, or the 3rd Thursday of theMonth, etc.
I have searched thru numerous online forums, and I haveseen multiple variants of this question, but none meet my specificrequirements. Most list the date of the 3rd Monday, but I need theinverse of this functionality. Any ideas?
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Sorry, but it should say list of Dates in column A. As Example

Date Weekday
1/1/2019 2 (Mon)
1/2/2019 3 (Tue)
1/3/2019 4 (Wed)
 
Upvote 0
Is this what you need?

=INT((DAY(A2)+6)/7)

Or maybe

=MID("^^1st2nd3rd4th5th",INT((DAY(A2)+6)/7)*3,3)&TEXT(A2," dddd ""of the month""")
 
Upvote 0
=INT((DAY(A2)+6)/7) works perfectly - I'd been at this for days making it far far too complicated. Thanks Tetra201.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top