Access 2007 database, Crystal XI
Need to calculate difference between two date/times in days,hrs, mins also calculate an average if item critera has meet "start" & "archive" status. See example
Each record has a unique id. Therefore have applied a group to ID.
Created a formula to identify True in meeting Start or Archive critera. I need to keep these as separate lists so may confirm that each ID has both a True response for meeting Start and Archive criteria.
@start formula {item} = "Start"
@archive formula {item} = "Archive"
Group - ID XXXX
Start Date End Date @start @archive
5/5/09 12:00:00 5/5/09 12:00:00 True False
29/5/09 12:00:00 29/5/09 12:00:00 False True
3/6/09 12:00:00 3/6/09 12:00:00 False True
I need to calculate difference for only those records that have both a Start and Archive True response for each grouped ID. How do I create a formula to validate this requirement, aggregate of the time difference between all dates and also calculate an average?
Thanks in advance
Need to calculate difference between two date/times in days,hrs, mins also calculate an average if item critera has meet "start" & "archive" status. See example
Each record has a unique id. Therefore have applied a group to ID.
Created a formula to identify True in meeting Start or Archive critera. I need to keep these as separate lists so may confirm that each ID has both a True response for meeting Start and Archive criteria.
@start formula {item} = "Start"
@archive formula {item} = "Archive"
Group - ID XXXX
Start Date End Date @start @archive
5/5/09 12:00:00 5/5/09 12:00:00 True False
29/5/09 12:00:00 29/5/09 12:00:00 False True
3/6/09 12:00:00 3/6/09 12:00:00 False True
I need to calculate difference for only those records that have both a Start and Archive True response for each grouped ID. How do I create a formula to validate this requirement, aggregate of the time difference between all dates and also calculate an average?
Thanks in advance