Solved

Crystal Formula to Calculate Average Distance Travelled

Posted on 2014-03-19
4
453 Views
Last Modified: 2014-03-19
I have to write a formula to calculate the average distance that three objects travelled. Object 1 moved at 5 mph for 1 minute. Object 2 moved at 1 mph for 2 minutes. Object 3 moved at 9 mph for 3 minutes. The screen shot shows the report with the data. Mph stands for miles per hour. The report and Access database are attached.

How do I write the formula to calculate the average distance travelled by the three objects?
Report Imagesample.rpt
sample.mdb
0
Comment
Question by:Mark01
  • 2
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 39940254
Will the duration always be in minutes?

mlmcc
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39940284
Here is a sample report that does what you want

mlmcc
sample.rpt
0
 

Author Comment

by:Mark01
ID: 39940307
I used minutes only for the sample data. If another unit is easier for you to use, that's fine.
0
 

Author Comment

by:Mark01
ID: 39940333
It looks good. Thank you, mlmcc.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sort by a cross tab in crystal report 2 53
Crystal Reports Format Field with Dashes 6 52
Crystal Formula to "conditionally count/sum" 3 58
Count If in Crystal Reports 2 19
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question