cancel
Showing results for 
Search instead for 
Did you mean: 

How to make the a field calculating a formula

Former Member
0 Kudos

I have a parameter field which take a date range which the user selects and the records are viewed.I need to perform a formula as

Total  hours=8*no. of working days.

where the no. of working days should be the according to the date range selected.

Suppose a user selects a date range as 09-06-2104 to 10-06-2104,the no. of working days is 2 and thus the above formula become

Total  hours=8*2.

Please suggest me how can i perform this.

Thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

abhilash_kumar
Active Contributor
0 Kudos

Hi Arun,

Please have a look at Ken's website for the formula:

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

The Holiday list array formula is here:

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

Multiply the final result by 8.

-Abhilash

Answers (1)

Answers (1)

0 Kudos

Hi Arun,

basics are this: datediff ("d", #06/09/2104#, #06/10/2104#) + 1 // +1 to include the start date.

Hit the F1 key to bring up the CR Help file and you'll find lots of examples and how to on handling dates, you can also use work days to compensate for weekends etc.

Don