Mean of Values EXCLUDING two lowest values

A

acpharmd

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: intel

Gradebook help question. I need to calculate the mean of several scores after dropping the two lowest scores. I found the MIN function, but cannot determine how to omit the TWO lowest.
Thank you in advance.
 
J

JE McGimpsey

One way:

=SUM(rng,-SMALL(rng,{1,2}))

or, equivalently (array-entered with CMD-RETURN):


=SUM(LARGE(rng, ROW(INDIRECT("1:"&COUNT(rng)-2))))
 
A

acpharmd

I have tried this formula with fictitious grades and everything worked wonderfully, but when I apply it to my nonconsecutive range - which contains zeros, it gives me an error.

Thanks for this - it really opened a door for me to consider. If you are able to help with my current problem described above, I have attached the formula as I entered it. All are postive integers except for U3 which has a value of zero (0).

=(SUM(P3,R3,U3,X3,AA3,AD3,-SMALL(P3,R3,U3,X3,AA3,AD3,{1,2})))/400

Thanks again.
 
J

JE McGimpsey

I have tried this formula with fictitious grades and everything worked
wonderfully, but when I apply it to my nonconsecutive range - which contains
zeros, it gives me an error.

Thanks for this - it really opened a door for me to consider. If you are able
to help with my current problem described above, I have attached the formula
as I entered it. All are postive integers except for U3 which has a value of
zero (0).

=(SUM(P3,R3,U3,X3,AA3,AD3,-SMALL(P3,R3,U3,X3,AA3,AD3,{1,2})))/400

One way (array-entered: CMD-RETURN):

=SUM(P3:AD3, -SMALL(IF(ISNA(MATCH(COLUMN(P3:AD3),
{16,18,21,24,27,30},0)), "", P3:AD3), {1,2}))
 

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