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.
 
Hey guys,

Thanks for all your replies. Unfortunately none of them give me the correct
answer.

To be more precise, I need Excel to calculate the Interquartile Mean
(http://en.wikipedia.org/wiki/Interquartile_mean) from an array which is
randomly ordered.

Any further help would really be appreciated!

Thanks again,

Nick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top