45 day payment

  • Thread starter Thread starter Rudyeb
  • Start date Start date
R

Rudyeb

I need a way to enter a date (06/20/11) and have excel compute 45
days from that date and give a date of the nearest Monday to that
date. Thursday or earlier would go back to that weeks Monday date and
Friday or later would go to the upcoming Monday after that date.
How would I do that?
Thanks,
 
I need a way to enter a date (06/20/11)  and have excel
compute 45 days from that date and give a date of the
nearest Monday to that date. Thursday or earlier would
go back to that weeks Monday date and friday or later
would go to the upcoming Monday after that date.

If A1 contains the base date (6/20/2011), one way is:

=A1+45+IF(WEEKDAY(A1+45,3)<=3,-WEEKDAY(A1+45,3),
7-WEEKDAY(A1+45,3))

formatted as Date.
 
Hi Rudy,

Am Mon, 20 Jun 2011 06:08:57 -0700 (PDT) schrieb Rudyeb:
I need a way to enter a date (06/20/11) and have excel compute 45
days from that date and give a date of the nearest Monday to that
date. Thursday or earlier would go back to that weeks Monday date and
Friday or later would go to the upcoming Monday after that date.

your Date in A1. Then try this:
=A1+45+CHOOSE(WEEKDAY(A1+45,2),0,-1,-2,-3,3,2,1)



Regards
Claus Busch
 

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

Auto Sheet Names and Date cells 3
Day and Date Autofill 7
Suming Up Time over the course of days 1
Year + week => first date of week 9
Excel Forecasting Dates Out to the Day 3
Holidays 9
week numbers 3
date calcuation 8

Back
Top