View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey
 
Posts: n/a
Default Function: Ignore Mimimum and Maximum Values

One way:

=TRIMMEAN(A1:A7, 2/7))

For more or fewer numbers, this can be generalized as

=TRIMMEAN(A:A,2/COUNT(A:A))



In article ,
Michael J <Michael wrote:

Is there a spreadsheet function to calculate the average, ignoring a single
minimum and maximum value. This is similar to what they use in the olympics
to calculate a score.

Example: for this list:

A1: 10
A2: 10
A3: 8
A4: 7
A5: 6
A6: 6
A7: 6

I would need to average only cells A2 through A6, ignoring a single max and
min value. The list is normally not sorted and the the number of values is
not constant.
Is there a statistical calulcation to do this?