Compute the 3rd Friday of the month?

coccio

Board Regular
Joined
Mar 19, 2002
Messages
156
Office Version
  1. 2016
I put in the month in a cell A1 of lets say 9/1/2003 or September

In cell B1 I want excel to compute the third Friday of that month which in this case is 9/19/2003

Can that be done?
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
=DATE(YEAR(B1),MONTH(B1),14+CHOOSE(WEEKDAY(DATE(YEAR(B1),MONTH(B1),1)),6,5,4,3,2,1,7))
 
Upvote 0
you're welcome. i did a sneeky edit for a typo on my original post - if you've got the version that ends ....6)), change it for the one above.
 
Upvote 0
3rd Friday of the month :

=A1-DAY(A1)-WEEKDAY(A1-DAY(A1)+2)+22

Regards
 
Upvote 0
I think that the 1st Friday preceding the third Wednesday of the month isn't necessarily the same as the 3rd Friday of the month.

For instance this month the 3rd Wednesday is 17th and the Friday preceding that is the 12th, so to get that result

=A1-DAY(A1)-WEEKDAY(A1-DAY(A1)+4)+17

for any date in A1
 
Upvote 0

Forum statistics

Threads
1,214,812
Messages
6,121,693
Members
449,048
Latest member
81jamesacct

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