Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Week-Days (Monday to Friday) 1

Status
Not open for further replies.

DerbyNeal

Programmer
May 12, 2005
22
0
0
GB
Hi,

I'm using Crystal 10 and need to create a formula that outputs a date (dd/mm/yyyy). I have a start date and a numeric field which represents the Date increment.

What I need to do is output the result of Start Date + Numeric - but incrementing using a count of 'Working Days' (Monday to Friday).

For example:
If Start Date = 06/09/2007 (dd/mm/yyyy - Thursday) and
Numeric Count = 7
Then the Output should be 17/09/2007 (dd/mm/yyyy - Monday).

Because the count is on the succesive Friday; Monday; Tuesday, Wednesday; Thursday; Friday and Monday), thereby ignoring the 2 weekends during this period.

Any ideas?

Thanks in advance,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top