Solved

Calculate an average automatically after score entry

Posted on 2011-09-26
3
203 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 250 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.

809 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