[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
Solved

# Calculating Working days from set date

Posted on 2007-11-29
Medium Priority
507 Views
Hi Experts,

I need to create a formula in CR8.5 that will calculate the number of working days back from a set date. ie;
if Condition = 3 then subtract 3 working days from enddate
else if Condition = 5 then subtract 5 working days from enddate etc

I am happy using the dateadd function to do the subtract but not sure on how to subtract only working days from the end date.

Any help appreciated

Thanks
0
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 101

Accepted Solution

mlmcc earned 2000 total points
ID: 20384982
Here is a formula to calculate the work days between 2 dates.  Use it then subtract the 3 or 5 days from the result.

mlmcc
0

LVL 1

Expert Comment

ID: 20592594
Forced accept.

Computer101
0

## Featured Post

Question has a verified solution.

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

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. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
###### Suggested Courses
Course of the Month12 days, 23 hours left to enroll