Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Applications / Excel / April 2008



Tip: Looking for answers? Try searching our database.

Mean of Values EXCLUDING two lowest values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
acpharmd@officeformac.com - 29 Apr 2008 17:18 GMT
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.
JE McGimpsey - 29 Apr 2008 17:48 GMT
One way:

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

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

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

> Version: 2008
> Operating System: Mac OS X 10.5 (Leopard)
[quoted text clipped - 4 lines]
> determine how to omit the TWO lowest.
> Thank you in advance.
acpharmd@officeformac.com - 29 Apr 2008 20:29 GMT
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.
PhilD - 30 Apr 2008 08:34 GMT
On Apr 29, 8:29 pm, acpha...@officeformac.com wrote:

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

Would you need a separate set of parentheses around your P3,R3, ...
(etc)?

PhilD

--
<><
JE McGimpsey - 30 Apr 2008 17:24 GMT
> I have tried this formula with fictitious grades and everything worked
> wonderfully, but when I apply it to my nonconsecutive range - which contains
[quoted text clipped - 6 lines]
>
> =(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}))
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.