on 2009 Sep 09 1:24 PM
Dear All,
I want to sum up of the Time field in Crystal Report. For example I have times as 8.30, 8.30, 9.30, 10.00, 8.30. So the sum should be shown as 44.20. How to achieve this in crystal report.
Regards,
Kamlesh
Do you require to show sum as 44.20 or 45.00?
in case of showing 45 hours
create formulas
1. hrs : DatePart('H', ) 2. minutes : DatePart('M', )
3. Sum : totext( Sum ({@hrs})+ INT(Sum ({@minute})/60),0,"")&":"&totext(remainder( Sum ({@minute}),60),"00")
Jyothi
Edited by: Jyothi Yepuri on Sep 10, 2009 2:13 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should be able to group on the time field, add time field to details section, right click it, select insert summary, and select sum, and where you want the sum, Group 1, or 2, or Grand Total footer... etc... This answer is for CR XI
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.