![]() |
How to calculate the third friday of a month?
Does anyone have an idea of how to accomplish this?
|
Answer: How to calculate the third friday of a month?
To calculate the third Friday of a month in Excel:
This formula works by adding 14 days to the first day of the month and then subtracting the number of days until the first Friday of the month. The <6 part of the formula checks if the first day of the month is a Friday or later, and if so, subtracts an additional 7 days to get the correct date for the third Friday. |
How to calculate the third friday of a month?
=DATE(YEAR(A1),MONTH(A1),1+7*3)-WEEKDAY(DATE(YEAR(A1),MONTH(A1),8-6))
with any date in A1 will return the third Friday of the month -- Regards, Peo Sjoblom Northwest Excel Solutions www.nwexcelsolutions.com (remove ^^ from email address) Portland, Oregon "KJP" wrote in message ... Does anyone have an idea of how to accomplish this? |
All times are GMT +1. The time now is 05:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com