Helped needed creating formula

Firewalker

New Member
Joined
Aug 18, 2007
Messages
13
The columns I've set up are column A is the name of the student. Column B is the name of the teacher and Column C is the student's score.

What I want to do is figure out what percentage of students made a mark higher than 85%. What's getting me is how to do this when there is more than one teacher. I'm thinking I might have to do a LOOKUP but I'm not sure.


Any suggestions for this scenario?


Thanks in advance.
 
Formula in S2:

Code:
=SUMPRODUCT(--($D$2:$D$11=R2),--($O$2:$O$11>0.85),--(ISNUMBER($O$2:$O$11)))/SUMPRODUCT(--($D$2:$D$11=R2),--(ISNUMBER($O$2:$O$11)))

Although it would be sad, I presume 0 is a possible score, therefore I would use COUNT instead of SUM to determine if you are going to average or not.

=IF(COUNT(F2:N2),AVERAGE(F2:N2),"")
 
Upvote 0

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Tried that formula and got a DIV error

The previous formula should work except the fields with "" count as a passing mark.

Any ideas?
aaCondAvg Firewalker.xls
BCDEFGHIJKLMNOPQRS
1FULLIDTL10
2Student ATeacher B1094%90%88%90%100%77%85%89%Teacher A0.5
3Student BTeacher A1085%97%100%100%94%95%100%96%Teacher B0.75
4Student CTeacher B1095%91%77%100%93%100%88%92%
5Student DTeacher A1090%100%100%93%100%100%97%
6Student ETeacher B5100%67%84%
7Student FTeacher B0 
8Student GTeacher A10100%69%60%73%83%90%86%80%
9Student HTeacher A1070%59%77%90%93%85%79%
10Student ITeacher B1083%100%100%90%100%93%94%
11Student JTeacher A0 
Sheet1


S2:

=SUM(IF($D$2:$D$11=R2,IF(ISNUMBER($O$2:$O$11),IF($O$2:$O$11>85%,1))))/SUM(IF($D$2:$D$11=R2,IF(ISNUMBER($O$2:$O$11),1)))

which must be confirmed with control+shift+enter (not just with enter) then copied down.
 
Upvote 0
Thanks so much for the help pepper, the formulas work great.


I'm looking for additional data from the sheet as well.

What I'm looking for is to determine is

1. How many marks/scores that meet a certain criteria (IE 85% or above) from a certain teacher

2. What percentage of the total calls from a particular teacher met the above criteria

(IE Teacher A had 30 marks above 85% and 75% of teacher A's total marks were above 85%)

Any suggestions for this?
 
Upvote 0
I've included my updated sheet.

All I'm looking for is to determine how many perfect scores each teacher had.

thanks in advance.
test sheet 2.xls
ABCDEFGHIJKLMNO
1FULLIDTL10AVGAveragepass
2StudentATeacherB1094%90%88%90%100%77%85%89%TeacherA50.00%
3StudentBTeacherA1085%97%100%100%94%95%100%96%TeacherB75.00%
4StudentCTeacherB1095%91%77%100%93%100%88%92%
5StudentDTeacherA1090%100%100%93%100%100%97%
6StudentETeacherB5100%67%84%
7StudentFTeacherB0 
8StudentGTeacherA10100%69%60%73%83%90%86%80%
9StudentHTeacherA1070%59%77%90%93%85%79%
10StudentITeacherB1083%100%100%90%100%93%94%
11StudentJTeacherA0 
12
13Numberof100%scores
14TeacherA
15TeacherB
Sheet1
 
Upvote 0

Forum statistics

Threads
1,215,046
Messages
6,122,849
Members
449,096
Latest member
Erald

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top