Formula to bring back the 3rd Friday of next month
I need to calculate the 3rd Friday of each month consecutively on a sheet. I am looking for a formula that will take the date of the previous line and spit out the next month's 3rd Friday, in sequence. Any help would be very appreciated! Thank you.
Answers
-
I don't know if there is an easier way, but try this:
- Add Column called [Previous Date] This should reference the previous rows date (Make sure the first row put in manually is the 3rd friday of the month).
- Add Column [Year] with formula:
=IF(MONTH([Previous Date]@row) = 12, YEAR([Previous Date]@row) + 1, YEAR([Previous Date]@row))
- Add Column [Month] with Formula:
=IF(MONTH([Previous Date]@row) = 12, 1, MONTH([Previous Date]@row) + 1)
- Add Column [Day] with Formula:
=21 - WEEKDAY(DATE(Year@row, [Month #]@row, 1))
- Your date calculation would then be:
=DATE(Year@row, [Month #]@row, Day@row)
-
Thank you, I will try this! Much appreciated.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.5K Get Help
- 448 Global Discussions
- 145 Industry Talk
- 481 Announcements
- 5.1K Ideas & Feature Requests
- 85 Brandfolder
- 152 Just for fun
- 73 Community Job Board
- 492 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 304 Events
- 37 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!