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

  • Thread starter Thread starter nick
  • Start date Start date
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!!
 
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.
 
Back
Top