Thanks a lot; I actually did want calculate an average and ignore the
extremes (as a primitive statistical approach to 'smoothening' a graph).
Your answer makes it clear.
Jim
> In what way do you want to remove them? If you want to ignore their
> values in a sum, for example, then you could have something like:
[quoted text clipped - 14 lines]
>> Hi All,
>> How do I remove the highest and lowest values from a series of fields?
JE McGimpsey - 21 Apr 2007 00:07 GMT
There's an XL function that will do that for you:
Say you had 10 values and you wanted to eliminate the max and min:
=TRIMMEAN(A1:A10,2/10)
If you don't know how many values are in the data set, you can eliminate
the top and bottom using
=TRIMMEAN(A:A, 2/COUNT(A:A))
If youIn article <46292783$0$2017$9a622dc7@news.kpnplanet.nl>,
> Thanks a lot; I actually did want calculate an average and ignore the
> extremes (as a primitive statistical approach to 'smoothening' a graph).
> Your answer makes it clear.
Bernd - 21 Apr 2007 06:39 GMT
Hello,
If the intention is to eliminate all max and all min values (they
might appear more than once):
=TRIMMEAN(A:A,(COUNTIF(A:A,MAX(A:A))+COUNTIF(A:A,MIN(A:A)))/
COUNT(A:A))
Regards,
Bernd
Jim 3975 - 21 Apr 2007 06:47 GMT
> There's an XL function that will do that for you:
>
[quoted text clipped - 6 lines]
>
> =TRIMMEAN(A:A, 2/COUNT(A:A))
Thanks! This is even better.
Amazing to see that this is apparently a standard operation. In my
statistical ignorance I seem to have reinvented it.
Pete_UK - 21 Apr 2007 01:43 GMT
Good guess on my part then !! <bg>
Thanks for feeding back.
Pete
> Thanks a lot; I actually did want calculate an average and ignore the
> extremes (as a primitive statistical approach to 'smoothening' a graph).
[quoted text clipped - 22 lines]
>
> - Show quoted text -