How to determine the date?

E

Eric

I would like to know when the last friday is on current month in cell A1, and
the last monday before the last friday on current month in cell B1.
For example, for current month, the last friday is 30 May, and the last
monday before the last friday on current month is 26 May.
Does anyone have any suggestions?
Thanks in advance for any suggestions
Eric
 
G

Gary''s Student

In cell C1 enter:
=DATE(YEAR(TODAY()),MONTH(TODAY())+1,1)
first day next month

In cell A1 enter:
=C1-DAY(C1)+8-WEEKDAY(C1-DAY(C1)+2)-7
last Friday this month

In cell B1 enter:
=A1-4
Monday before

To get the last Friday of the current month, we get the first Friday of the
next month and then backoff 7 days. For the previous Monday, backoff 4 more
days.
 

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

Similar Threads

Last working day of a month 12
Excel Date of first friday every month 3
cell reference 3
Calculating weeks 1
How to determine the value? 4
How to determine the date? 2
automating months 5
Show Ranking 1

Top