How do I take and average of grouped data?

A

amie h

How do I get averages of grouped data in an access report, as opposed to one
overall average? I have a table of ~45,000 entries. Each entry contains
info regarding a single stocked fish. I have created a report that groups
only the following stocking data:

Year River River Mile Average Length
1996 CO 312
309
GR 96
1997 CO 303
312
GR etc.
etc.
1998
etc.

When I enter =Avg([Length]) in the length column of the report, I get an
average of all of the stocked fish. What I need, for example, is an average
length of the fish stocked in 1996 in the CO river at river mile 312, an
average length of the fish stocked in 1996 in the CO river at river mile 309,
etc. I am not extremely familiar with Access so if someone could help me
with this I would really appreciate it!
 
D

Duane Hookom

Apparently your report is grouped by Year and River? If so, you should place
your =Avg([Length]) in the appropriate group header or footer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top