PC Review


Reply
Thread Tools Rate Thread

45 day payment

 
 
Rudyeb
Guest
Posts: n/a
 
      20th Jun 2011
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,
 
Reply With Quote
 
 
 
 
joeu2004
Guest
Posts: n/a
 
      20th Jun 2011
On Jun 20, 6:08*am, Rudyeb <rudyeb...@gmail.com> wrote:
> 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.


 
Reply With Quote
 
Claus Busch
Guest
Posts: n/a
 
      20th Jun 2011
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
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting payment when increase rate is known & total payment is kn =?Utf-8?B?U2hhaWxlbmRyYSBIYXJyaQ==?= Microsoft Excel Worksheet Functions 12 22nd Sep 2007 09:04 PM
Calculation of Interest / How to find Monthly Payment w/ Offset First Payment More options chrisclock@gmail.com Microsoft Excel Programming 2 27th Feb 2007 03:15 AM
Invoiceing / Invoice Payment Add Initial Payment Record? =?Utf-8?B?QnJvb2s=?= Microsoft Access Form Coding 27 9th Mar 2006 10:33 PM
Payment of Invoices in comparison with the payment period =?Utf-8?B?UmVuYXRvIFNpbHZh?= Microsoft Excel Programming 0 25th Jan 2006 10:45 PM
calculate payment with first payment due date variable? =?Utf-8?B?Sm9keSBTb2xiYWNo?= Microsoft Excel Worksheet Functions 1 8th Sep 2005 05:46 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:28 PM.