[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Calculate an average automatically after score entry

Posted on 2011-09-26
3
Medium Priority
?
222 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

650 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