I have a table with the following fields:
Code - 3 digit code describing a certain job
HowMany - number of widgets completed for above code
HowLong - time it took to complete, in minutes
I wish the result to look like this:
Code...HowMany....HowLong
100....10.........20
120....3..........60 , etc.
If the employee has more than 1 code in the time period, the result is:
Code...HowMany...HowLong
100....2.........4
100....4.........8
100....3.........6
100....1.........2
120....1.........20
120....1.........20
120....1.........20
I have to sum the numbers by each code and show the average time to complete each code for the employee and then show the average time for all employees for each code.
Thanks for your help.
rlporter
Code - 3 digit code describing a certain job
HowMany - number of widgets completed for above code
HowLong - time it took to complete, in minutes
I wish the result to look like this:
Code...HowMany....HowLong
100....10.........20
120....3..........60 , etc.
If the employee has more than 1 code in the time period, the result is:
Code...HowMany...HowLong
100....2.........4
100....4.........8
100....3.........6
100....1.........2
120....1.........20
120....1.........20
120....1.........20
I have to sum the numbers by each code and show the average time to complete each code for the employee and then show the average time for all employees for each code.
Thanks for your help.
rlporter