Is Date Nth Day of Month?

David Schaleger

Board Regular
Joined
Dec 6, 2010
Messages
55
Please help me with a formula to determine if a specific date is nth day of the month.

Specifically, I need to know if a date in column A is either the 2nd or 4th Thursday of the month. Column A is a list of all dates for an entire calendar year. The formula would be in column B and return TRUE if it's the 2nd or 4th Thursday of the month, or FALSE if it is not.

Thank you!
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Here's another option, which I don't believe is version dependent:

=AND(WEEKDAY(A1)=5,OR(AND(DAY(A1)>=8,DAY(A1)<=14),AND(DAY(A1)>=22,DAY(A1)<=28)))
 
Upvote 0
Eric, your solution seems to work perfectly. Thanks!
Johmo, I saw that article earlier when I was looking for a solution, but it seemed backwards to what I needed, as did every other potential solution, which is why I decided to post and ask the experts.
Thanks so much to both of you for your help!
 
Upvote 0
Johmo, I saw that article earlier when I was looking for a solution, but it seemed backwards to what I needed, as did every other potential solution, which is why I decided to post and ask the experts.

Well it's not Exactly what you wanted, but it's a PART of it..
If you use that to find what date actually IS the 2nd thursday, THEN you can compare that Date to your original Date to get a True or False result.
 
Upvote 0

Forum statistics

Threads
1,216,109
Messages
6,128,883
Members
449,477
Latest member
panjongshing

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