Solved

Calculate the next business day

Posted on 2008-06-09
3
526 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 69

Expert Comment

by:Éric Moreau
Comment Utility
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
Comment Utility
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
Comment Utility
Worked perfectly... thank you.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now