Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8
Default identifying the next working day after weekends and/or holidays

I make automatic loan payments every other week on a Monday, and, in
addition, automatic loan insurance payments on the last day of the month. If
any of these dates fall on a weekend or a Holiday, the loan institution moves
the payment date forward one working date. The next automatic loan payment
date ignores any previous shift and is still made two weeks later on a
Monday. When the automatic loan payment fell on Monday,1/18/10, MLK day, the
payment was moved forward to the next working day, 1/19/10. The next
automatic loan payment ignored this shift and was made two weeks from 1/18/10
on Monday, 2/1/10. The next automatic loan payment was scheduled to be made
two weeks from 2/1/10 on Monday, but fell on 2/15/10, President's day. This
payment was moved forward to the next working day, 2/16/10. The next
automatic loan payment will ignore this shift and be made two weeks from
2/15/10 on Monday, 3/1/10.

I need to create a column of dates that will track the lending institution's
movement of scheduled payment dates. I am currently able to create a column
of loan payment dates two weeks/14 days apart, including also the insurance
payment end-of-month date, and can make the loan payment and the insurance
payment on the same date if they coincide, but I cannot skip weekends and
Holidays and make payments on the "next working date". As countless others
before me have said, if the Workday function just did EXACTLY what its
definition says, and allowed <Workday, I could do this easily. I have two
arrays set up for Holidays and for Weekends that I can use as lookups,
although I know little of array functions.

If someone can help me to get the date column working as I need, I can do
the rest.

Thanks for any help or suggestions.

--
staplers
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default identifying the next working day after weekends and/or holidays

One solution is to do away with Workday, as it's not working for you. As
loan payments are always on Mondays, the only issue is whether that Monday
is a holiday. If so, the payment is due on the next day. So try:
=IF(COUNTIF(D$2:D$6,A2)0,A2+1,A2)

where A2 is the calculated payment date, and D2:D6 is your list of holidays.

Regards,
Fred

"staplers" wrote in message
...
I make automatic loan payments every other week on a Monday, and, in
addition, automatic loan insurance payments on the last day of the month.
If
any of these dates fall on a weekend or a Holiday, the loan institution
moves
the payment date forward one working date. The next automatic loan
payment
date ignores any previous shift and is still made two weeks later on a
Monday. When the automatic loan payment fell on Monday,1/18/10, MLK day,
the
payment was moved forward to the next working day, 1/19/10. The next
automatic loan payment ignored this shift and was made two weeks from
1/18/10
on Monday, 2/1/10. The next automatic loan payment was scheduled to be
made
two weeks from 2/1/10 on Monday, but fell on 2/15/10, President's day.
This
payment was moved forward to the next working day, 2/16/10. The next
automatic loan payment will ignore this shift and be made two weeks from
2/15/10 on Monday, 3/1/10.

I need to create a column of dates that will track the lending
institution's
movement of scheduled payment dates. I am currently able to create a
column
of loan payment dates two weeks/14 days apart, including also the
insurance
payment end-of-month date, and can make the loan payment and the insurance
payment on the same date if they coincide, but I cannot skip weekends and
Holidays and make payments on the "next working date". As countless
others
before me have said, if the Workday function just did EXACTLY what its
definition says, and allowed <Workday, I could do this easily. I have
two
arrays set up for Holidays and for Weekends that I can use as lookups,
although I know little of array functions.

If someone can help me to get the date column working as I need, I can do
the rest.

Thanks for any help or suggestions.

--
staplers


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default identifying the next working day after weekends and/or holidays

On Fri, 26 Feb 2010 18:31:01 -0800, staplers
wrote:

I make automatic loan payments every other week on a Monday, and, in
addition, automatic loan insurance payments on the last day of the month. If
any of these dates fall on a weekend or a Holiday, the loan institution moves
the payment date forward one working date. The next automatic loan payment
date ignores any previous shift and is still made two weeks later on a
Monday. When the automatic loan payment fell on Monday,1/18/10, MLK day, the
payment was moved forward to the next working day, 1/19/10. The next
automatic loan payment ignored this shift and was made two weeks from 1/18/10
on Monday, 2/1/10. The next automatic loan payment was scheduled to be made
two weeks from 2/1/10 on Monday, but fell on 2/15/10, President's day. This
payment was moved forward to the next working day, 2/16/10. The next
automatic loan payment will ignore this shift and be made two weeks from
2/15/10 on Monday, 3/1/10.

I need to create a column of dates that will track the lending institution's
movement of scheduled payment dates. I am currently able to create a column
of loan payment dates two weeks/14 days apart, including also the insurance
payment end-of-month date, and can make the loan payment and the insurance
payment on the same date if they coincide, but I cannot skip weekends and
Holidays and make payments on the "next working date". As countless others
before me have said, if the Workday function just did EXACTLY what its
definition says, and allowed <Workday, I could do this easily. I have two
arrays set up for Holidays and for Weekends that I can use as lookups,
although I know little of array functions.

If someone can help me to get the date column working as I need, I can do
the rest.

Thanks for any help or suggestions.


The algorithm using the WORKDAY function is straightforward to handle your
problem. It's a matter of computing the unadjusted date; subtract one day from
that; then add one Workday. No need for arrays or lookups, although you do
need a table of Holiday dates.

So considering your column of regular loan payments, if you have a legitimate
payment date in A1 (e.g. 1/4/2010) then

A1: 1/4/2010
A2: =WORKDAY($A$1+ROWS($1:1)*14-1,1,holidays)

and fill down.

Similarly for your end of month payments:

B1: =WORKDAY(EOMONTH($A$1,ROWS($1:1)-1)-1,1,holidays)

and fill down
--ron
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autofill weekends and holidays NM Excel Worksheet Functions 2 December 10th 08 04:58 PM
Identifying Weekends Jepane Excel Discussion (Misc queries) 1 June 14th 07 11:00 PM
Removing holidays and weekends , networkdays amyk1313 Excel Discussion (Misc queries) 0 May 30th 06 05:17 PM
Workday With Weekends Excluding Holidays Chuy Excel Worksheet Functions 5 January 18th 06 08:04 PM
Formula - Excluding weekends & holidays Connie Martin Excel Worksheet Functions 9 February 25th 05 04:28 AM


All times are GMT +1. The time now is 11:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"