Confident CellsExcel practice Start free

Question-level analysis: practice exercises

% scored on each question, marks by topic with SUMIF across a row, the weakest question, pupils who scored 0. 5 exercises on real-looking data, each marked the moment you press Check. The first exercise is below to try now; the full lesson is part of Pro.

Your turn

Row 2 has each question's maximum mark, and the blank rows are pupils who were absent. In B3, work out the percentage of the available marks the class scored on Q1: their marks over the maximum mark times the number of pupils who sat it. Your formula will be copied across to K3.

ABCDEFGHIJK
1TopicForcesEnergyForcesEnergyAtomsAtomsReactionsAtomsReactionsAtoms
2Max mark6462121521
3% scored
4PupilQ1Q2Q3Q4Q5Q6Q7Q8Q9Q10
5Ruby Kowalski6320011221
6Louis Wood0362011210
7Noah Green0101111020
8Evie Okafor6151020510
9Kacper Clarke2421100221
10Ibrahim Walker5261021411
11Freya Edwards6401010220
12Esme Wright5051111011
13Sami Wood5141121510
14Rosa Ali2452121311
15Callum Jones3461121311
16Nadia Walker
17Amira Kowalski5321111221
18Lily Shah2462111401
19Daniel Khan5351111510
20Aisha Patel4332121420
21Jayden Bennett3431111411
22Poppy Bennett
23Reuben Khan4252120220
24Yusuf Taylor5021111220

How it works

A question-level analysis (QLA) shows which questions, and which topics, a class found hard. Each pupil has a row, each question a column, with the topic and the maximum mark at the top.

The % scored on a question is the marks the class got over the marks available: the maximum mark times the number of pupils who sat it. Absent pupils are blank, and a blank is not a 0. SUMIF works across a row as well as down a column, so it can add up the marks for one topic.

=SUM(B6:B9)/(B2*COUNT(B6:B9)) =SUMIF($B$1:$D$1,F2,$B$3:$D$3) =INDEX(B1:D1,MATCH(MIN(B3:D3),B3:D3,0)) =COUNTIF(B6:B9,0)

What a QLA shows

Four pupils sat a three-question quiz, but Cara was absent. Q2 is out of 3, and Amira, Ben and Dan scored 3, 0 and 2 on it: 5 marks in all.

Three pupils sat it, so 3 × 3 = 9 marks were available, and the class scored 5 ÷ 9 = 55.6% on Q2. Counting Cara as a 0 would make it 5 ÷ 12, which is lower than the class really did.

In a formula: =SUM(B6:B9)/(B2*COUNT(B6:B9)). COUNT counts only the pupils with marks, so the blank row is left out. Putting the % row above the pupils keeps it in view, however long the class list is.

Worked example

ABCD
1TopicAlgebraNumberAlgebra
2Max mark235
3% scored
4Scored 0
5PupilQ1Q2Q3
6Amira234
7Ben102
8Cara
9Dan225
  1. =SUM(B6:B9)/(B2*COUNT(B6:B9)) in B3. Q1: 2 + 1 + 2 = 5 marks out of 2 × 3 = 6, so 83.3%. Q2 is the weakest at 55.6%.
  2. =COUNTIF(B6:B9,0) in B4. Ben scored 0 on Q2, so Q2 shows 1. Cara's empty cells aren't 0, so COUNTIF doesn't count her.

Topics across a row

SUMIF doesn't have to go down a column. Here the topics are along row 1, so SUMIF checks row 1 and adds up the matching cells in row 3. Lock both rows so the formula can be copied down the list of topics.

ABCDEFGH
1TopicAlgebraNumberAlgebraTopicAverage marks% scored
2Max mark235Algebra
3Class average1.51.23.5Number
  1. =SUMIF($B$1:$D$1,F2,$B$3:$D$3) in G2. Algebra is Q1 and Q3, so the average pupil scored 1.5 + 3.5 = 5 marks on algebra.
  2. =SUMIF($B$1:$D$1,F2,$B$3:$D$3)/SUMIF($B$1:$D$1,F2,$B$2:$D$2) in H2. Algebra has 2 + 5 = 7 marks available, so 5 ÷ 7 = 71.4%. Number is 1.2 ÷ 3 = 40%: that's the topic to reteach.

The weakest question

To name the question with the lowest %, find the lowest % with MIN, find where it is in the row with MATCH(..., 0), then take the question from the same place with INDEX: =INDEX(B1:K1,MATCH(MIN(B3:K3),B3:K3,0)).

If two questions tie for lowest, MATCH finds the first one, so check for a tie before you report it. XLOOKUP(MIN(B3:K3),B3:K3,B1:K1) does the same job.

Counting the pupils who scored 0 on a question is COUNTIF(range,0). A pupil who was absent has an empty cell, which COUNTIF doesn't count as 0, and that's what you want.

What you'll practise

  1. Row 2 has each question's maximum mark, and the blank rows are pupils who were absent. In B3, work out the percentage of the available marks the class scored on Q1: their marks over the maximum mark times the number of pupils who sat it. Your formula will be copied across to K3.
  2. Row 3 has the marks the whole class scored on each question. In N2, add up the marks the class scored on the topic in M2, across all its questions. Your formula will be copied down to N5 for the other topics.
  3. Row 3 shows the % the class scored on each question. In N1, show the question (Q1 to Q10) with the lowest % scored, using a formula so it updates when the marks change.
  4. The two blank rows are pupils who were absent. In B3, count how many pupils scored 0 on Q1. Absent pupils didn't score 0, so they mustn't be counted. Your formula will be copied across to K3.
  5. Row 3 has the class's average mark on each question. Column N should show the % of the available marks scored on each topic, but the formula in N2 averages the marks without dividing by the maximum marks. Fix it: the topic's average marks added up, over its maximum marks added up.