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.
 

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

Top