AVERAGE, STDEV, SEM with criteria

R

robotman

I have a table with several columns. One of the columns is the group
number and another has volumes of each item.

Example:

Group Vol ... etc
1 20
1 22
1 24
2 24
2 30
2 28


How can I calculate the Average, Stdev, and SEM for each group. I
need some sort of AverageIf, Stdevif, SEMif ..etc. I could write a
macro to go through each line and check for a group match, but if
there's a way to do the calculations with a one-liner, that would be
great.

Note: SEM is not a std XL function, but is calcuated: =STDEV()/
SQRT(COUNT())

Thanks for any ideas.

John
 

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