Calculate the 4th Wed of every Month

John1953

New Member
Joined
Aug 28, 2019
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Some time ago, I received help with this subject. This formula

=DAY(WORKDAY.INTL(EOMONTH(TODAY(),-1),4,"1101111"))

Works great, but only returns a date for the current month, how can I have it apply to future months?
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
=DAY(WORKDAY.INTL(EOMONTH(TODAY(),-1),4,"1101111"))

Use -1 to get the 4th Wednesday of this month, 0 for the 4th Wednesday of next month, 1 for the 4th Wednesday two months out, etc.
 
Upvote 0
Works great, but only returns a date for the current month,
As I'm sure you are aware, it actually only returns the day number, not the actual date.
I am wondering if you are then combining with month & year to get a series of actual dates?
If so, and you want a list of dates being the 4th Wednesday of a number of months starting this month, you could adapt the formula like this. In the formula I have used 12 in the SEQUENCE function. That is the number of months to produce the dates for, so edit that value if you want more or less months.
(Sorry if I have gone down a completely wrong path :eek:)

24 01 07.xlsm
D
14th Wednesdays
2Wednesday, 24 January 2024
3Wednesday, 28 February 2024
4Wednesday, 27 March 2024
5Wednesday, 24 April 2024
6Wednesday, 22 May 2024
7Wednesday, 26 June 2024
8Wednesday, 24 July 2024
9Wednesday, 28 August 2024
10Wednesday, 25 September 2024
11Wednesday, 23 October 2024
12Wednesday, 27 November 2024
13Wednesday, 25 December 2024
List 4th Wednesdays
Cell Formulas
RangeFormula
D2:D13D2=WORKDAY.INTL(EOMONTH(TODAY(),SEQUENCE(12,,-1)),4,"1101111")
Dynamic array formulas.
 
Upvote 0
Thank everyone for help, got several now to choose from. I have things up and running smooth now.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

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