Search code examples
excelexcel-formulasumifssumproduct

How to grade a test with different points by answer in Excel?


I'm trying to do something similar than this: https://exceljet.net/formula/score-quiz-answers-with-key

But it is not the same because I have different "points" for each question.

For example, correct answer for question 1 gives you 2 points, but correct answer for question 10 gives you 6 points.

I need to get the total of points for each student based on their answers and how many points each answer gives them.

This is the sheet with the answers and points:

This is the sheet with the answers of


Solution

  • Please try this formula. Paste to R5 (first result row) and copy down.

    =SUMPRODUCT(--(B5:Q5=B$1:Q$1),B$3:Q$3)