Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Average by Group and total 1

Status
Not open for further replies.

DeanReedy

Programmer
Jun 8, 2005
8
US
I have a report that deals with Products and cost.

I want to know the average(mean) of the product cost.

Grouped by
Salesmen
Product
Customer

I have the report all setup and grouped correctly, but I do not know how to average the cost field. I can total the field but how do you average?

thanks,
Dean
 
Assuming the Product Cost is a numeric field, you should be able to drop the Product Cost field in the details, right-click on it, select Insert then Summary and one of the options will be Average. You can select which group to average the cost on and click OK. Once you have the summary in a group, you can copy it and paste it into the other group levels.

Hopefully that helps.
 
nobull613,

That is exactly what I needed thank you very much!

Dean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top