Next 1st or 3rd Thursday, whichever comes first from a given date

davidcom

New Member
Joined
Apr 25, 2024
Messages
5
Office Version
  1. 365
Hi all. Could someone please help me with a formula that will give me the next 1st or 3rd Thursday, whichever comes first, from a given date.

So for example if A1 = 4/2/24, the formula will return 4/4/24 (which is the earlier of the next 1st or 3rd Thursday)

If A1 = 4/11/24, the formula will return 4/18/24 (which is the 3rd Thursday of April, so the earlier of the next 1st or 3rd Thursday from 4/11/24)

And if A1 = 4/18/24, the formula would return 5/2/24 (which is the 1st Thursday of May, so the earlier of the next 1st or 3rd Thursday from 4/18/24)

Hopefully that makes sense!!
 
@Tetra201 Thanks for pointing that out. I ran a test and can confirm that Post #4 does not give the correct result for a start date of 5/17/24. I assume it's due to the existence of 5 Thursdays in the month of May. I've changed the correct answer to Post #5, which seems to handle that instance.
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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