Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 536
  • Last Modified:

Calculate the next business day

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
benbelzer
Asked:
benbelzer
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
Holidays are not provided by anything because they are related to your contry/state/province. You need to create your mechanism for them.
0
 
mlmccCommented:
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
 
benbelzerAuthor Commented:
Worked perfectly... thank you.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now