N
Nancy via AccessMonster.com
I have a report that totals up the daily efficiency for each employee. Then,
in the report footer I made a text box that will average those daily
efficiencies. However, when I manually type these numbers into a calculator I
do not get the right average. For example on employee has the following daily
efficiencies: 62.23, 131.37, 129.29, 126.53, 126.53, and 141.42. When I
manually average those I get 119.56. However, my report average shows 128.55.
I figured out that I have to include the sum inside the formula in my text
box, but when I do that I keep getting error messages. This is the formula
that I am using:
=Avg(((([Sum Qty]*[Rate])*(0.125))/[Sum Hrs])/[Employee Data_Rate])
When I run the report I get a box that tells me to enter the parameter value
for Sum Qty and Sum Hrs. These two are calculated text boxes that gets the
sum of the Qty and the Hrs. I realize that you can't use these with the Avg
function but I don't know any other way to do it. I tried putting the Sum
function inside the above formula but got an error message as well. What
would be the best way to to get my report footer to show the proper average
of these numbers?
in the report footer I made a text box that will average those daily
efficiencies. However, when I manually type these numbers into a calculator I
do not get the right average. For example on employee has the following daily
efficiencies: 62.23, 131.37, 129.29, 126.53, 126.53, and 141.42. When I
manually average those I get 119.56. However, my report average shows 128.55.
I figured out that I have to include the sum inside the formula in my text
box, but when I do that I keep getting error messages. This is the formula
that I am using:
=Avg(((([Sum Qty]*[Rate])*(0.125))/[Sum Hrs])/[Employee Data_Rate])
When I run the report I get a box that tells me to enter the parameter value
for Sum Qty and Sum Hrs. These two are calculated text boxes that gets the
sum of the Qty and the Hrs. I realize that you can't use these with the Avg
function but I don't know any other way to do it. I tried putting the Sum
function inside the above formula but got an error message as well. What
would be the best way to to get my report footer to show the proper average
of these numbers?