How can I obtain the average of the middle quartile of an array?

N

nick

I have a list of numbers and I want to discard the first and last quartile,
and then obtain an average of whats left.

Thanks!!
 
S

Shane Devenshire

Hi,

Try the following array formula:

=AVERAGE(IF((A1:A8>QUARTILE(A1:A8,1))*(A1:A8<QUARTILE(A1:A8,3)),A1:A8,""))

Press Shift+Ctrl+Enter to enter it. You my change the > to >= but I leave
that up to you.
 
Top