john9210 Posted December 9, 2018 Share Posted December 9, 2018 I'm looking for a formula that calculates the date of the second Tuesday of any month, based on the month number. Any suggestions. Link to comment Share on other sites More sharing options...
comment Posted December 9, 2018 Share Posted December 9, 2018 A month number is not enough. You also need to specify the year. Then you can do = Let ( [ firstOfMonth = Date ( month ; 1 ; year ) ; diff = 3 - DayofWeek ( firstOfMonth ) ; firstTuesday = firstOfMonth + Mod ( diff ; 7 ) ] ; firstTuesday + 7 ) 1 Link to comment Share on other sites More sharing options...
john9210 Posted December 10, 2018 Author Share Posted December 10, 2018 Thanks, it works great! Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 1963 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now