?
Solved

Calculate an average automatically after score entry

Posted on 2011-09-26
3
Medium Priority
?
241 Views
Last Modified: 2012-05-12
Attached is an Excel 2007 spreadsheet of dates and quiz scores. New scores are always inserted so that the latest score is the first(Would not have to be this way). Would like to calculate the average score of the highest 5 scores out of the last 10 in one cell. If possible the formula would be dynamic. That is automatically adjust to the highest 5 of the last 10 after new entries. Have tried to use the OFFSET function to deescribe the range in conjunction with SUM but have not had any success. Can someone point me in the right direction? Thanks.
QuizSocores.xlsx
0
Comment
Question by:StampIT
  • 2
3 Comments
 
LVL 50

Expert Comment

by:barry houdini
ID: 36600164
Try this formula in A1

=AVERAGE(LARGE(OFFSET(A1,4,2,10),{1,2,3,4,5}))

regards, barry
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 1000 total points
ID: 36600190
Sorry that would start the range at C5, should be

=AVERAGE(LARGE(OFFSET(A1,3,1,10),{1,2,3,4,5}))

that will give you the average of top 5 from B4:B13 even if more data is inserted

barry
0
 

Author Closing Comment

by:StampIT
ID: 36600369
Thanks. Works like a charm.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

What to do if a split doesn't fit? Or a bunch of invoice lines must be rounded while the sum must match a total? It takes a little, but - when done - it is extremely easy to implement.
As a person who answers a lot of questions, I often see code that could be simplified, made easier to read, and perhaps most importantly made easier to maintain if the code was modified to use the Select Case statement. This article explains how to…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question