Excel - Formula for taking avg with filters

Closed
sj - Apr 3, 2011 at 03:49 AM
RWomanizer Posts 365 Registration date Monday February 7, 2011 Status Contributor Last seen September 30, 2013 - Apr 4, 2011 at 04:21 AM
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 January 28, 2010 Status Contributor Last seen May 5, 2022 766
Apr 3, 2011 at 06:18 AM
from your question it seems that you want ave based on groups. You can make use of SUMIF/COUNTIF for this and calculate avg
0
RWomanizer Posts 365 Registration date Monday February 7, 2011 Status Contributor Last seen September 30, 2013 120
Apr 4, 2011 at 04:21 AM
Just use of Pivot tables it will solve your problem.
0