Solved

Calculate the next business day

Posted on 2008-06-09
3
528 Views
Last Modified: 2010-04-21
Hello,

I have found help on calculating the number of business days between two dates, but I need to see if there is a way to show the next business day.

I want a field that takes the currentdate and adds 1 day, but if that day is a saturday, sunday, or company holiday, show the next day following that.

Example:
currentdate: 6/6/08
@nextworkday: 6/9/08

-or-

currentdate: 11/26/08
@nextworkday: 12/1/08 (due to two company holidays)

Any help would be greatly appreciated!
0
Comment
Question by:benbelzer
3 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 21745209
Holidays are not provided by anything because they are related to your contry/state/province. You need to create your mechanism for them.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 21745238
Here is a formula that does what you want.

http://www.kenhamady.com/form17.shtml

It uses this formula

http://www.kenhamady.com/form01.shtml

mlmcc
0
 

Author Closing Comment

by:benbelzer
ID: 31465478
Worked perfectly... thank you.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question