calculate last monday of the month

  • Thread starter Thread starter steve
  • Start date Start date
Try:

DateSerial(Year(Date), Month(Date) + 1, 1) - Weekday(DateSerial(Year(Date),
Month(Date) + 1, 1), 3)

That expression calculates the first of next month, and then takes off the
day of the week, assuming Tuesday to be the first day of the week.
 
After playing with it a bit I found that
=DateSerial(Year([Date]),Month([Date])+0,1)-Weekday(DateSerial(Year([Date]),
Month([Date])+1,1),6) works. Wish I understood why? :)

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top