Solved

Calculate an average automatically after score entry

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

838 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