Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
neda5
 
Posts: n/a
Default Check if date is a business day

I have interest payments that occur 28 days from a certain date. If that day
is not a business day then I need the following day. Is there a formula that
I can use to check if the date that is 28 days from the previous payment is a
business day?
Thanks.
Neda
  #2   Report Post  
N Harkawat
 
Posts: n/a
Default

=CHOOSE(WEEKDAY(A1,2),0,0,0,0,0,2,1)+A1+28
where A1 holds the *certain date*

"neda5" wrote in message
...
I have interest payments that occur 28 days from a certain date. If that
day
is not a business day then I need the following day. Is there a formula
that
I can use to check if the date that is 28 days from the previous payment
is a
business day?
Thanks.
Neda



  #3   Report Post  
Ron Coderre
 
Posts: n/a
Default

If your start date is in cell A2, then try this:
B2: =+A2+28+CHOOSE(MAX(WEEKDAY(A2+28,2)-4,1),0,2,1)

Does that help?
--
Regards,
Ron


"neda5" wrote:

I have interest payments that occur 28 days from a certain date. If that day
is not a business day then I need the following day. Is there a formula that
I can use to check if the date that is 28 days from the previous payment is a
business day?
Thanks.
Neda

  #4   Report Post  
Dave O
 
Posts: n/a
Default

Assuming your payment date is in cell A1, I came up with this. This
formula adds 28 days to the A1 date and determines if that day is a
weekday. If the date is a Saturday or Sunday it adds days
appropriately so the result date is a Monday.
=IF(WEEKDAY(A1+28)=1,A1+28+1,IF(WEEKDAY(A1+28)=7,A 1+28+2,A1+28))
.... where Sunday is day 1 and Saturday is day 7.

Also consider the WORKDAY() function, which disregards holidays (in a
list you specify) and weekends in its calculations; I tried assuming
that in 4 weeks there are 8 weekend days and tried =WORKDAY(A1,28-8)
but did not always come up with the same answers as the WEEKDAY
solution. Will either of these fit your situation?

  #5   Report Post  
neda5
 
Posts: n/a
Default

Yep. That seems to be working. Thanks.

"Dave O" wrote:

Assuming your payment date is in cell A1, I came up with this. This
formula adds 28 days to the A1 date and determines if that day is a
weekday. If the date is a Saturday or Sunday it adds days
appropriately so the result date is a Monday.
=IF(WEEKDAY(A1+28)=1,A1+28+1,IF(WEEKDAY(A1+28)=7,A 1+28+2,A1+28))
.... where Sunday is day 1 and Saturday is day 7.

Also consider the WORKDAY() function, which disregards holidays (in a
list you specify) and weekends in its calculations; I tried assuming
that in 4 weeks there are 8 weekend days and tried =WORKDAY(A1,28-8)
but did not always come up with the same answers as the WEEKDAY
solution. Will either of these fit your situation?


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
How do I create a schedule from a list of dates ? Gavin Morris Charts and Charting in Excel 2 October 28th 10 04:08 PM
Check column of dates against todays date Andrew82 Excel Worksheet Functions 1 April 15th 05 11:17 AM
What is the syntax to check if a date occurred before a referance. Hugh@cat Excel Discussion (Misc queries) 2 April 12th 05 08:32 PM
business days between 2 date feilds JRS Excel Worksheet Functions 10 March 12th 05 07:39 AM
How would I change a date cell to decrease it by business days? CNGracin Excel Discussion (Misc queries) 3 December 15th 04 05:20 PM


All times are GMT +1. The time now is 07:58 AM.

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

About Us

"It's about Microsoft Excel"