Excel - Formula for taking avg with filters

Closed
sj - 3 Apr 2011 à 03:49
RWomanizer Posts 365 Registration date Monday 7 February 2011 Status Contributor Last seen 30 September 2013 - 4 Apr 2011 à 04:21
Hi Experts,

I am new with excel and want to do the follwing.

1. I have sheet of all students with their names, subjects and grades
2. I have another list "Summary" where I want to calculate average of students based on their subjects. like; Subject 1: Avg = 3
3. All this I want is without using filters functionality of excel through mouse clicks.

I am more familiar with SQL so this is what I am looking for (in excel);

Aveg sub= Avg (select numbGrade from students where subject="SP")

This should give me an average grades of all students for a specific subject.

Appreciate your earlist help.

Thanks!
Related:

2 responses

rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 766
3 Apr 2011 à 06:18
from your question it seems that you want ave based on groups. You can make use of SUMIF/COUNTIF for this and calculate avg
RWomanizer Posts 365 Registration date Monday 7 February 2011 Status Contributor Last seen 30 September 2013 120
4 Apr 2011 à 04:21
Just use of Pivot tables it will solve your problem.