average of highest 48 of 52 radom numbers with duplicate low #'s

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I must determine out of 52 radom numbers the average of the 48 highest even
if one or more of the lowest numbers is repeated 7 times without exempting
the 3 out of the 7 that must be included in the 48 to extract the average.
 
You may use this array formula:
=AVERAGE(LARGE(A1:A52,ROW(1:48)))
Enter it with Crt+Shift+Enter
 
This will find the average with the four smallest excluded
=(SUM(A1:A52)-SMALL(A1:A52,1)-SMALL(A1:A52,2)-SMALL(A1:A52,3)-SMALL(A1:A52,4))/48
If there are, for example, 7 ones then the average is computed without 4 of
them.
Not sure what you want to do with duplicates.
Are the numbers integer (whole numbers); do you know the range before hand?
best wishes
 
I tried this array: it geave me the highest listed # and not the average...
thanks for trying
 
Here are some alternatives:

For numbers listed in A1:A52

B1: =(SUM(A1:A52)-SUM(SMALL(A1:A52,{1,2,3,4})))/48

OR
B1: =AVERAGE(LARGE(A1:A52,ROW(1:48)))
Note: for that array formula, hold down [Ctrl] and [Shift] when you press
[Enter].

Does that help?
***********
Regards,
Ron

XL2002, WinXP-Pro
 
Maybe it is because of the row formula. You may try this modification:
=AVERAGE(LARGE(A1:A52,ROW(INDIRECT("1:48"))))
Also, check that the formula is entered as an array formula (curly brackets
should appear on the formula bar)

Hope this helps,
Miguel.
 
I believe you have solved my delima. I do not need to use the 4 that are not
computed at all. I do know the range ahead of time..
This is to help me determine the anser to my annual report to the church I
pastor. I must give the average of the highest of 48 Sunday attendences out
of 52 Sundays. THANKS FOR YOUR SHARING YOUR KNOWLEDGE WITH ME. GOD BLESS
 
Thanks, the first formula works as I want it to. the 2nd only returns the
highest number in the list. I appreciated your help... GOD Bless You

Ron Coderre said:
Here are some alternatives:

For numbers listed in A1:A52

B1: =(SUM(A1:A52)-SUM(SMALL(A1:A52,{1,2,3,4})))/48

OR
B1: =AVERAGE(LARGE(A1:A52,ROW(1:48)))
Note: for that array formula, hold down [Ctrl] and [Shift] when you press
[Enter].

Does that help?
***********
Regards,
Ron

XL2002, WinXP-Pro


LCB said:
I must determine out of 52 radom numbers the average of the 48 highest even
if one or more of the lowest numbers is repeated 7 times without exempting
the 3 out of the 7 that must be included in the 48 to extract the average.
 

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