Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default AVERAGE, STDEV, SEM with criteria

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
calculate the stdev of an array using text as the criteria Crypes Excel Worksheet Functions 4 February 25th 09 06:12 PM
How do I run the STDEV function with multiple criteria? JLMcCracken Excel Worksheet Functions 1 August 12th 06 07:45 PM
average and stdev from groups of data Charlie Excel Worksheet Functions 2 January 9th 06 03:56 AM
AVERAGE and STDEV functions with logic t-rung Excel Worksheet Functions 1 May 26th 05 07:11 PM
average and stdev Jenny Excel Programming 3 February 10th 04 08:05 PM


All times are GMT +1. The time now is 04:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"