Assuming your data values are in A1:A20, try this array* formula:
=AVERAGE(IF((A1:A20<>MAX(A1:A20))*(A1:A20<>MIN(A1:A20)),A1:A20))
The formula discards any values that are maximum or minimum in the
range, then averages the remainder.
* As this is an array formula, then once you have typed it in (or
subsequently amend it) you must use CTRL-SHIFT-ENTER to commit it
rather than the usual ENTER. If you do this correctly, then Excel will
wrap curly braces { } around the formula when viewed in the formula
bar - you must not type these yourself.
Hope this helps.
Pete
On Feb 13, 12:41 pm, Freddie Fish <johnnpicton-co...@yahoo.co.uk>
wrote:
> I am sure this is probably simple but here goes:
>
[quoted text clipped - 11 lines]
>
> John
Hi John,
Look in HELP for the TRIMMEAN() function

Signature
Kind regards,
Niek Otten
Microsoft MVP - Excel
|I am sure this is probably simple but here goes:
|
[quoted text clipped - 11 lines]
|
| John
Freddie Fish - 13 Feb 2008 13:22 GMT
Thanks for both of these replys I will try them.
Thanks
>Hi John,
>
>Look in HELP for the TRIMMEAN() function