Last Friday of the month

  • Thread starter Thread starter Alfredo_CPA
  • Start date Start date
A

Alfredo_CPA

I have in cell "A5" the last day of the month (i.e. las month was 08-31-08
and this month will be 09-30-08)
I need a formula in "A6" (that works for every month) that gives me the last
friday of that specific month based on the input on "A5"

Thanks
 
Try

=DATE(YEAR(A1),MONTH(A1)+1,0)+MOD(-WEEKDAY(DATE(YEAR(A1),MONTH(A1)+1,0),2)-2,-7)

With a date in a1

Mike
 
=DATE(YEAR(A5),MONTH(A5)+1,1)- WEEKDAY(DATE(YEAR(A5),MONTH(A5)+1,2))

--


Regards,


Peo Sjoblom
 
It does the job perfectly

Thanks a lot!!

Mike H said:
Try

=DATE(YEAR(A1),MONTH(A1)+1,0)+MOD(-WEEKDAY(DATE(YEAR(A1),MONTH(A1)+1,0),2)-2,-7)

With a date in a1

Mike
 
Thanks Mr T.
Of all the responses this is the shortest fromula and I personally prefer
that.

Thanks to you Peo as well (all the responses works perfectly)
 
=A5+1-WEEKDAY(DATE(YEAR(A5),MONTH(A5)+1,1)+1)

We can reduce that further to:

=A5+1-WEEKDAY(A5+2)
 

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

Followinf Friday of a certain day 6
Excel Date of first friday every month 3
Another date formula 4
count on 3 criteria 3
Date Array Problem 2
How to Calc a full month 1
Rate of change 4
Calculating days sales outstanding 4

Back
Top