We help IT Professionals succeed at work.
Get Started

AVERAGE(LARGE(D1:D7, {1,2,3})) - D1:D7 should not be hardcoded - but based on a validation

463 Views
Last Modified: 2012-05-12
Hi Team,
I'm stuck again. Looking forward to your helping hand.
What it is, i have this Formulat AVERAGE(LARGE(D1:D7, {1,2,3})).
The Column a1:a7 has years from 2002 and 2003 (asc order, repeating).
This formula works fine if all the years are same. Since we have 2002 and 2003 and will be many more, I need a formula that could set the D1:D7 to D1:D3 or to whatever rows it is 2002.
In user english, It is to find out the average of top three marks in a particular subject since 2000 to 2010. Number of students vary every year or it could be same for few years. The formula should pick one year and find the top 3 marks and find the average. Right now i set the range for each year. Please help this out. I know i could do this via VBA but the requirement is a formula. Thanks a million!
Comment
Watch Question
CERTIFIED EXPERT
Most Valuable Expert 2013
Commented:
This problem has been solved!
Unlock 1 Answer and 15 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE